glassfish
  1. glassfish
  2. GLASSFISH-4427

please make the asadmin parser smarter and more forgiving...

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 9.1peur1
    • Fix Version/s: future release
    • Component/s: command_line_interface
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      4,427

      Description

      http://docs.sun.com/app/docs/doc/820-4046/backup-domain-1?a=view describes the
      --description option.

      i tried to use it with a pretty recent GF v2.1 build, but it gave me the
      following output.

      > ../v21/pe/6/glassfish/bin/asadmin --description "this is a long pointless
      description" backup-domain
      CLI001 Invalid Command, --description.

      Obviously, the command and option are reversed, but the dash-dash is a pretty
      good clue that I am giving it an option, not a command....

        Activity

        Hide
        ijuma added a comment -

        Adding myself to cc list.

        Show
        ijuma added a comment - Adding myself to cc list.
        Hide
        janey added a comment -

        The command options have improved in v3.

        Executing the same asadmin command in v3 results in:

        asadmin --description "this is a long pointless
        description" backup-domain
        Invalid option: --description
        Usage: asadmin [-H|--host <host(default:localhost)>]
        [-p|--port <port(default:4848)>] [-u|--user <user(default:admin)>]
        [-W|--passwordfile <passwordfile>]
        [t|-terse[=<terse(default:false)>]]
        [s|-secure[=<secure(default:false)>]]
        [e|-echo[=<echo(default:false)>]]
        [I|-interactive[=<interactive(default:true)>]]
        [?|-help[=<help(default:false)>]] [subcommand [options] [operands]]

        Show
        janey added a comment - The command options have improved in v3. Executing the same asadmin command in v3 results in: asadmin --description "this is a long pointless description" backup-domain Invalid option: --description Usage: asadmin [-H|--host <host(default:localhost)>] [-p|--port <port(default:4848)>] [-u|--user <user(default:admin)>] [-W|--passwordfile <passwordfile>] [ t| -terse [=<terse(default:false)>] ] [ s| -secure [=<secure(default:false)>] ] [ e| -echo [=<echo(default:false)>] ] [ I| -interactive [=<interactive(default:true)>] ] [ ?| -help [=<help(default:false)>] ] [subcommand [options] [operands] ]
        Hide
        vince kraemer added a comment -

        I guess I would expect that smarter and more forgiving would mean that the command would actually
        execute 'correctly', despite my data entry errors

        Show
        vince kraemer added a comment - I guess I would expect that smarter and more forgiving would mean that the command would actually execute 'correctly', despite my data entry errors
        Hide
        janey added a comment -

        reassign to kedar

        Show
        janey added a comment - reassign to kedar
        Hide
        Tom Mueller added a comment -

        Reducing priority and marking targeting this for some unknown future release.

        Show
        Tom Mueller added a comment - Reducing priority and marking targeting this for some unknown future release.

          People

          • Assignee:
            kumara
            Reporter:
            vince kraemer
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: