Changeset 814d4f8 for client


Ignore:
Timestamp:
Oct 2, 2010, 2:09:14 AM (14 years ago)
Author:
Patrick Hurst <phurst@…>
Branches:
master, debian, mac, no-cups
Children:
6b7441a
Parents:
8781af2
git-author:
Patrick Hurst <phurst@…> (10/02/10 02:07:31)
git-committer:
Patrick Hurst <phurst@…> (10/02/10 02:09:14)
Message:

change gutenbach-client-config usage documentation

now we store it in a here document and also document the -s option
for setting default

File:
1 edited

Legend:

Unmodified
Added
Removed
  • client/bin/gutenbach-client-config

    r7cdd65d r814d4f8  
    77use Getopt::Long;
    88
    9 my $usage =
    10     "Usage: gutenbach-client-config [-l|--list|-a|--add|-d|--delete] [QUEUE] [--host=HOST]\n" .
    11     "\n" .
    12     "\t-l, --list\t\tList available queues\n" .
    13     "\t-a, --add QUEUE\t\tAdd a queue (must be used with -h)\n" .
    14     "\t-d, --delete QUEUE\tDelete a queue)\n" .
    15     "\t-h, --host HOST\t\tHostname for the queue\n";
     9my $usage = <<USAGE;
     10Usage: gutenbach-client-config [-l|--list|-a|--add|-d|--delete] [QUEUE] [--host=HOST]
     11
     12        -l, --list              List available queues
     13        -a, --add QUEUE         Add a queue (must be used with -h)
     14        -d, --delete QUEUE      Delete a queue
     15        -s, --set-default QUEUE Set the default queue
     16        -h, --host HOST         Hostname for the queue
     17USAGE
    1618
    1719my $list = 0;
Note: See TracChangeset for help on using the changeset viewer.