Uploaded image for project: 'Z-Push'
  1. Z-Push
  2. ZP-1291

Cli tools should exit with 0 if called with --help

    Details

    • Type: Bug
    • Status: QA
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 2.3.8
    • Fix Version/s: 2.4.1 beta1, 2.4.1
    • Component/s: None
    • Labels:
      None

      Description

      If the CLI tools (z-push-admin, z-push-top, z-push-gabsync, z-push-gab2contacts) are called with --help, they should exit with 0.

      The --help option is a supported option and using it should not indicate an error.

      This seems to be common practice in other tools as well.
      If the --help option exits with 0 this can be used to do basic testing of a command's ability to run.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Manfred Manfred Kutas
                Reporter:
                rolek Roel van Meer
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: