Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-438

'ozone oz' should print usage when command or sub-command is missing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.2.1
    • Tools

    Description

      When invoked without the command or sub-command, ozone oz prints the following error:

      $ ozone oz
      Please select a subcommand
      

      and

      $ ozone oz volume
      Please select a subcommand
      

      For most familiar with Unix utilities it is obvious they should rerun the command with --help. However we can just print the usage instead to avoid guesswork

      Attachments

        1. HDDS-438.001.patch
          5 kB
          Dinesh Chitlangia
        2. HDDS-438.002.patch
          7 kB
          Dinesh Chitlangia
        3. HDDS-438.003.patch
          9 kB
          Dinesh Chitlangia

        Activity

          People

            dineshchitlangia Dinesh Chitlangia
            arp Arpit Agarwal
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: