Bug 8362 - tl-config help text mentions hivetool
Summary: tl-config help text mentions hivetool
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Misc (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-13 10:08 CEST by Frida Flodin
Modified: 2024-06-18 14:05 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Frida Flodin cendio 2024-06-13 10:08:01 CEST
The usage text for tl-config will print "hivetool" instead of "tl-config". It makes sense since tl-config only wraps hivetool, but it is confusing for the user since we want tl-config to be used over hivetool.

> $ tl-config --help
> hivetool [options] [type:]parameter[=value] ...
> 
>   -a,--all-entries        Print all parameters and values in a folder
>   -i,--import <file>      Import all parameters in specified file
>   -p,--purge <file>       Remove parameters in specified file which exists elsewhere
>   -R,--recursive	  When using -a, ascend folders recursively
>   -r,--root <file>	  Specify root hive file. Default is /etc/root.hconf
>   -e,--eval VAR=parameter Print parameter value in format suitable for
>                           assignment to shell variable, via evaluation
>   -E folder               As -e, but print all parameters in specified folder
>   -v,--version		  Print version
>   -x,--export             When using -e,-E, export variables
>   -?,--help		  Show this help message
> 
>   type is one of: string, bool, integer, float, binary, string_list,
>   bool_list, integer_list, float_list, binary_list. Default is string
> 
>   Example:
> 
>   hivetool -Ra /
> 
>   hivetool -r /etc/samba/smb.conf /global/workgroup=MYWORKGROUP
> 
>   hivetool -p /etc/samba/smb.conf -i /etc/samba/smb.conf.rpmsave
Comment 1 Frida Flodin cendio 2024-06-18 14:05:45 CEST
(In reply to Frida Flodin from comment #0)
This was the output with 4.16.0 server installed. Now with bug 7889 the output is a bit better, but still mentions hivetool nevertheless:

> $ tl-config --help
> Usage: hivetool [options] [type:]parameter[=value] ...
> 
> Options:
>   -E folder             as -e, but print all parameters in specified folder
>   -R, --recursive       when using -a, ascend folders recursively
>   -a folder, --all-entries folder
>                         print all parameters and values in a folder
>   -e VAR=parameter, --eval VAR=parameter
>                         print parameter value in format suitable for
>                         assignment to shell variable, via evaluation
>   -h, --help            show this help message and exit
>   -i <file>, --import <file>
>                         import all parameters in specified file
>   -p <file>, --purge <file>
>                         remove parameters in specified file which exists
>                         elsewhere
>   --version             prints the ThinLinc version and exits
>   -x, --export          when using -e,-E, export variables
> 
> type is one of: string, bool, integer, float, binary, string_list,
> bool_list, integer_list, float_list, binary_list. Default is string

Note You need to log in before you can comment on or make changes to this bug.