Ticket #21 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

All scripts should detect -h/--help and invalid arguments

Reported by: ccowart Owned by: confman-developers@…
Priority: major Milestone: confman-1.9b
Component: confman Version: 1.7.2
Keywords: Cc:

Description

These scripts need to provide usage statements:

  • confaudit
  • confexport
  • confsync

They should also exit non-zero with said usage statement if they receive unsupported arguments or if the positional parameters include extra shell words (I think only confaudit supports -q, the rest could just be [ -z "$1" ] || usage).

Change History

comment:1 Changed 3 years ago by ccowart

  • Status changed from new to closed
  • Resolution set to fixed

(In [321]) Usage statements and -h support for all scripts.

Fixes #21

Note: See TracTickets for help on using tickets.