Bug 248201 - yast command line help
Summary: yast command line help
Status: RESOLVED FIXED
: 136419 (view as bug list)
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Alpha 0plus
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Jiří Suchomel
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-23 12:42 UTC by Klara Cihlarova
Modified: 2007-03-01 15:46 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klara Cihlarova 2007-02-23 12:42:52 UTC
In the yast command line help is not information how to set option value (basic syntax). For example in "yast users add help"

YaST Configuration Module users
--------------------------------

Command 'add'
    Add new user

    Options:
        username       [string]  Login name of the user
        uid            [string]  UID of the user
        ....

But the information about correct syntax is missing and error message is not useful too. It should be (or something like this):

YaST Configuration Module users
--------------------------------

Command 'add'
    Add new user

Basic Syntax:
    yast2 users add <options>=<values>
    
    Options:
        username       [string]  Login name of the user
        uid            [string]  UID of the user
        ....
Comment 1 Jiří Suchomel 2007-02-27 08:05:37 UTC
Ladislav, I think this should be general part of command line interface help, nothing specific to yast2-users.
Comment 4 Jiří Suchomel 2007-03-01 15:19:40 UTC
Rebecca, could you help me with wording? 
I propose printing one extra sentence for each "yast2 <module> help <command>", when command has some options of string type; something like "Options of type [string] has to be written in the form 'option=value'."

The output would look like this:

jsuchome@baggins:~> yast2 kerberos configure help

YaST Configuration Module kerberos
-----------------------------------

Command 'configure'
    Change the global settings of Kerberos client

    Options:
        kdc          [string]  The Key Distribution Center (KDC) address
        domain       [string]  Default domain
        realm        [string]  Default realm
        minimum_uid  [string]  Minimum UID used for Kerberos authentication
        clockskew    [string]  Clock skew (in seconds)
        help                   Print the help for this command
        verbose                Show progress information
    Options of type [string] has to be written in the form 'option=value'.

Comment 5 Rebecca Walter 2007-03-01 15:22:54 UTC
Options of the [string] type must be written in the form 'option=value'.
Comment 6 Jiří Suchomel 2007-03-01 15:23:48 UTC
*** Bug 136419 has been marked as a duplicate of this bug. ***
Comment 7 Jiří Suchomel 2007-03-01 15:46:53 UTC
Fixed in svn trunk.