dev@glassfish.java.net

Re: target as option or operand?

From: Bill Shannon <bill.shannon_at_oracle.com>
Date: Sat, 26 Jun 2010 20:17:08 -0700

Hong Zhang wrote on 06/26/2010 05:47 PM:
> Do we have to have an operand for our cli commands? If yes, I guess I
> see why target is used as the operand. But unix commands like "ls" don't
> have an operand.

Of course they do. All the file names on the command line are operands.

> In any case, as we already have this syntax in v2, we should just keep
> backward compatibility in 3.1. :-)

Sadly, yes.