From 62982671018a3b22fa38b29b7fff7fb40ef0a4c3 Mon Sep 17 00:00:00 2001 From: "Dr. Peter Poeml" Date: Thu, 9 Aug 2007 16:15:13 +0000 Subject: [PATCH] meta: remove notion of non-implemented --create switch. give example for meta pkg usage --- osc/commandline.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/osc/commandline.py b/osc/commandline.py index f1da6244..a111f9eb 100755 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -163,13 +163,17 @@ class Osc(cmdln.Cmdln): the --file switch. If the argument is '-', input is taken from stdin: osc meta prjconf home:poeml | sed ... | osc meta prjconf home:poeml -F - - The --create switch is subject to discussion and not implemented. The - current behaviour is to create a non-existing resource implicitely, if - while it is edited. + When trying to edit a non-existing resource, it is created implicitely. - usage: + + Examples: + osc meta prj PRJ + osc meta pkg PRJ PKG + osc meta pkg PRJ PKG -e + + Usage: osc meta ARGS... - osc meta -e|--edit [-c|--create] ARGS... + osc meta -e|--edit ARGS... osc meta -F|--file ARGS... osc meta pattern --delete PRJ PATTERN ${cmd_option_list}