bugutil-vserver - Bugs: bug #27135, [PATCH] vsomething --help output...


You are not allowed to post comments on this tracker with your current authentication level.

bug #27135: [PATCH] vsomething --help output is incorrect

Submitted by:  Matthijs Kooijman <matthijs>
Submitted on:  Wed 29 Jul 2009 11:46:13 AM UTC  
Category:  None Severity:  3 - Normal
Item Group:  Documentation Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Component Version:  alpha
Release:  trunk (r2844)

Wed 29 Jul 2009 12:03:33 PM UTC, comment #1:

A slightly improved version of the patch is below. This also documents the extra options, besides --all that are available (which I only found after writing a patch to make vapt-get --all skip stopped vservers, which can be achieved with --running just as easy).

Matthijs Kooijman <matthijs>
Wed 29 Jul 2009 11:46:13 AM UTC, original submission:

As per subject. The below oneliner makes --help consistent with the code again:

Index: scripts/vsomething
--- scripts/vsomething (revision 2844)
+++ scripts/vsomething (working copy)
@@ -29,7 +29,7 @@
function showHelp()
-$"Usage: $0 [--quiet|-q] [--debug] <cmd> [--] <vserver-name>* [--all] -- <params>+
+$"Usage: $0 [--quiet|-q] [--debug] <cmd> <vserver-name>* [--all] [-- <params>+]

Execute <cmd> <vserver> <params>* foreach vserver.

Matthijs Kooijman <matthijs>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by matthijs (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.3