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

 
 

You are not allowed to post comments on this tracker with your current authentification 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: NoneSeverity: 3 - Normal
Item Group: DocumentationStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenComponent 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()
{
echo
-$"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
  • -unavailable- added by matthijs (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup