]> git.ipfire.org Git - thirdparty/lxc.git/commit
make help consistent for other scripts
authorDavid Ward <david.ward@ll.mit.edu>
Thu, 3 May 2012 22:50:15 +0000 (00:50 +0200)
committerDaniel Lezcano <daniel.lezcano@free.fr>
Thu, 3 May 2012 22:50:15 +0000 (00:50 +0200)
commit2775bb4c5a13d80dbbe57adddb1b302267ccafd5
treeb6c87006676b388848a11dd8088c0446f58ae6b3
parent8edcbf336673d13bb944f817c9974298a77b7860
make help consistent for other scripts

Display help information in a consistent format.

Print error messages and help information to stderr. Prefix error
messages with the name of the script (for easier debugging as part
of larger scripts).

Allow help information to be printed as a non-root user.

Fix file mode for lxc-checkconfig.in.

Signed-off-by: David Ward <david.ward@ll.mit.edu>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/lxc-checkconfig.in [changed mode: 0755->0644]
src/lxc/lxc-clone.in
src/lxc/lxc-create.in
src/lxc/lxc-destroy.in
src/lxc/lxc-setcap.in
src/lxc/lxc-setuid.in