Project

General

Profile

Actions

Bug #20635

closed

katello-backup needs cleaner error messages for invalid option calls

Added by Christine Fouant over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Backup & Restore
Target version:
Fixed in Releases:
Found in Releases:

Description

Currently, if a user makes a call that fails (ie missing argument), there is an ugly traceback:

  1. katello-backup /tmp/ --incremental
    /sbin/katello-backup:72:in `block in <main>': missing argument: --incremental (OptionParser::MissingArgument)
    from /sbin/katello-backup:22:in `new'
    from /sbin/katello-backup:22:in `<main>'
Actions #1

Updated by The Foreman Bot over 7 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello-packaging/pull/503 added
Actions #2

Updated by Christine Fouant over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Eric Helms about 7 years ago

  • Translation missing: en.field_release set to 286
Actions #4

Updated by The Foreman Bot about 7 years ago

  • Pull request https://github.com/Katello/katello-packaging/pull/512 added
Actions #5

Updated by Brad Buckingham about 7 years ago

  • Target version set to 208
Actions

Also available in: Atom PDF