Bug 1031571 - [backup.sh] ./backup.sh: illegal option -- -
Summary: [backup.sh] ./backup.sh: illegal option -- -
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-18 10:20 UTC by Jiri Belka
Modified: 2013-11-20 08:14 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-20 08:14:33 UTC
oVirt Team: ---
Target Upstream Version:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.