From 3aa108d32a144a2c8b5946157fa08c19fb83f4d5 Mon Sep 17 00:00:00 2001 From: "Dr. Peter Poeml" Date: Mon, 16 Jul 2007 10:58:11 +0000 Subject: [PATCH] usage info for the meta command --- osc/commandline.py | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/osc/commandline.py b/osc/commandline.py index 447f09bb..2c82a409 100755 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -135,14 +135,23 @@ class Osc(cmdln.Cmdln): @cmdln.option('-e', '--edit', action='store_true', help='edit metadata') @cmdln.option('-F', '--file', metavar='FILE', - help='File to read metadata from. \'-\' denotes standard input. ' - 'Per default, the program specified by the environmental variable EDITOR ' - 'is run on a temporary file.') + help='read metadata from FILE, instead of opening an editor. ' + '\'-\' denotes standard input. ') def do_meta(self, subcmd, opts, *args): """${cmd_name}: Show meta information, or edit it - meta: Shows build service metadata of type . - + Show or edit build service metadata of type . + + This command displays metadata on buildservice objects like projects, + packages, or users. The type of metadata is specified by the word after + "meta", like e.g. "meta prj". + + With the --edit switch, the metadata can be edited. Per default, osc + opens the program specified by the environmental variable EDITOR with a + temporary file. Alternatively, content to be saved can be supplied via + the --file switch. + + The --create switch is subject to discussion and not implemented. usage: osc meta [-e|--edit [-f|--file] [-c|--create]] ARGS...