Bug 1031571

Summary: [backup.sh] ./backup.sh: illegal option -- -
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Belka <jbelka>
Component: ovirt-engineAssignee: Nobody <nobody>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, iheim, lpeer, Rhev-m-bugs, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-20 08:14:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jiri Belka 2013-11-18 10:20:24 UTC
Description of problem:
--help is standard... Also see missing line break at the end of the output.

-%-
# ./backup.sh --help
./backup.sh: illegal option -- -
Usage: backup.sh [-h] [-s SERVERNAME] [-p PORT] [-d DATABASE] [-l DIR] [-f FILENAME] -u USERNAME [-c] [-v] 

        -s SERVERNAME - The database servername for the database (def. localhost)
        -p PORT       - The database port for the database       (def. 5432)
        -d DATABASE   - The database name                        (def. engine)
        -u USERNAME   - The username for the database            (def. engine)
        -v            - Turn on verbosity (WARNING: lots of output)
        -l DIR        - Backup file directory. 
        -f FILENAME   - Backup file name. 
        -c            - Backup each row as SQL insert statement.
        -h            - This help text.

for more options please run pg_dump --help[root@jb-rh33 dbscripts]#
-%-



Version-Release number of selected component (if applicable):
is23

How reproducible:
100%

Steps to Reproduce:
1. ./backup.sh --help
2.
3.

Actual results:
--help unknown, missing eof at the last line

Expected results:


Additional info:

Comment 1 Jiri Belka 2013-11-20 08:14:33 UTC
As stated in https://bugzilla.redhat.com/show_bug.cgi?id=976337#c18 customers/gss/qa should use engine-backup script of not explicitly instructed by engineering. Thus closing.