Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-1212

Do not print usage on wrong command line

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.4
    • Fix Version/s: 1.4.5
    • Component/s: None
    • Labels:
      None

      Description

      Currently when user enter an incorrect command line, Sqoop will print in order:

      • Useful error message what has been entered wrong
      • At least 200 lines long usage guide

      As the usage guide will scroll the shell, the most useful information will get moved away, resulting in user confusion. I think that it will be more user friendly to stop printing the usage in case of a wrong input and display it only explicitly when user will ask for it (e.g. on sqoop import --help call).

        Attachments

        1. SQOOP-1212.patch
          0.6 kB
          Jarek Jarcec Cecho

          Issue Links

            Activity

              People

              • Assignee:
                jarcec Jarek Jarcec Cecho
                Reporter:
                jarcec Jarek Jarcec Cecho
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: