mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-24 14:36:42 +02:00
Merge pull request #363 from kdheepak/update-cli-help-string
Update cli help string for config
This commit is contained in:
commit
7119ce6d86
4 changed files with 6 additions and 6 deletions
|
@ -17,8 +17,8 @@ _taskwarrior-tui() {
|
|||
_arguments "${_arguments_options[@]}" \
|
||||
'-d+[Sets the data folder for taskwarrior-tui]:FOLDER: ' \
|
||||
'--data=[Sets the data folder for taskwarrior-tui]:FOLDER: ' \
|
||||
'-c+[Sets the config folder for taskwarrior-tui]:FOLDER: ' \
|
||||
'--config=[Sets the config folder for taskwarrior-tui]:FOLDER: ' \
|
||||
'-c+[Sets the config folder for taskwarrior-tui (currently not used)]:FOLDER: ' \
|
||||
'--config=[Sets the config folder for taskwarrior-tui (currently not used)]:FOLDER: ' \
|
||||
'--taskdata=[Sets the .task folder using the TASKDATA environment variable for taskwarrior]:FOLDER: ' \
|
||||
'--taskrc=[Sets the .taskrc file using the TASKRC environment variable for taskwarrior]:FILE: ' \
|
||||
'-r+[Sets default report]:STRING: ' \
|
||||
|
|
|
@ -22,8 +22,8 @@ Register-ArgumentCompleter -Native -CommandName 'taskwarrior-tui' -ScriptBlock {
|
|||
'taskwarrior-tui' {
|
||||
[CompletionResult]::new('-d', 'd', [CompletionResultType]::ParameterName, 'Sets the data folder for taskwarrior-tui')
|
||||
[CompletionResult]::new('--data', 'data', [CompletionResultType]::ParameterName, 'Sets the data folder for taskwarrior-tui')
|
||||
[CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'Sets the config folder for taskwarrior-tui')
|
||||
[CompletionResult]::new('--config', 'config', [CompletionResultType]::ParameterName, 'Sets the config folder for taskwarrior-tui')
|
||||
[CompletionResult]::new('-c', 'c', [CompletionResultType]::ParameterName, 'Sets the config folder for taskwarrior-tui (currently not used)')
|
||||
[CompletionResult]::new('--config', 'config', [CompletionResultType]::ParameterName, 'Sets the config folder for taskwarrior-tui (currently not used)')
|
||||
[CompletionResult]::new('--taskdata', 'taskdata', [CompletionResultType]::ParameterName, 'Sets the .task folder using the TASKDATA environment variable for taskwarrior')
|
||||
[CompletionResult]::new('--taskrc', 'taskrc', [CompletionResultType]::ParameterName, 'Sets the .taskrc file using the TASKRC environment variable for taskwarrior')
|
||||
[CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Sets default report')
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
complete -c taskwarrior-tui -s d -l data -d 'Sets the data folder for taskwarrior-tui' -r
|
||||
complete -c taskwarrior-tui -s c -l config -d 'Sets the config folder for taskwarrior-tui' -r
|
||||
complete -c taskwarrior-tui -s c -l config -d 'Sets the config folder for taskwarrior-tui (currently not used)' -r
|
||||
complete -c taskwarrior-tui -l taskdata -d 'Sets the .task folder using the TASKDATA environment variable for taskwarrior' -r
|
||||
complete -c taskwarrior-tui -l taskrc -d 'Sets the .taskrc file using the TASKRC environment variable for taskwarrior' -r
|
||||
complete -c taskwarrior-tui -s r -l report -d 'Sets default report' -r
|
||||
|
|
|
@ -21,7 +21,7 @@ pub fn generate_cli_app() -> App<'static> {
|
|||
.short('c')
|
||||
.long("config")
|
||||
.value_name("FOLDER")
|
||||
.help("Sets the config folder for taskwarrior-tui")
|
||||
.help("Sets the config folder for taskwarrior-tui (currently not used)")
|
||||
.takes_value(true),
|
||||
)
|
||||
.arg(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue