Uploaded image for project: 'Backup'
  1. Backup
  2. MGNLBACKUP-48

Show usage() if no argument is passed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • None
    • None
    • None

    Description

      In LaunchBackup, we currently do

      if ( args[i].equals("--help")  || args.length == 0) {
          usage();
      }
      

      Since this happens in a loop on the args array, the second operand of the "or" will never be true.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              gjoseph Magnolia International
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD