Project

General

Profile

Actions

Bug #20635

closed

katello-backup needs cleaner error messages for invalid option calls

Added by Christine Fouant about 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

Also available in: Atom PDF