Project

General

Custom queries

Profile

Actions

Bug #20635

closed

katello-backup needs cleaner error messages for invalid option calls

Added by Christine Fouant over 7 years ago. Updated almost 7 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>'

Added by Christine Fouant over 7 years ago

Revision 22c7276e (diff)

fixes #20635 - cleans up error message handling for invalid args

Actions

Also available in: Atom PDF