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>'
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

Also available in: Atom PDF