From c2be68398abd7f086dd7095f155e4b3807be2fa6 Mon Sep 17 00:00:00 2001 From: Dheepak Krishnamurthy Date: Mon, 10 Jan 2022 13:38:52 -0700 Subject: [PATCH] fix: Update cli help string for config --- completions/_taskwarrior-tui | 4 ++-- completions/_taskwarrior-tui.ps1 | 4 ++-- completions/taskwarrior-tui.fish | 2 +- src/cli.rs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/completions/_taskwarrior-tui b/completions/_taskwarrior-tui index 3b0ef8c..66ca4dc 100644 --- a/completions/_taskwarrior-tui +++ b/completions/_taskwarrior-tui @@ -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: ' \ diff --git a/completions/_taskwarrior-tui.ps1 b/completions/_taskwarrior-tui.ps1 index cb7e4f9..71c4e78 100644 --- a/completions/_taskwarrior-tui.ps1 +++ b/completions/_taskwarrior-tui.ps1 @@ -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') diff --git a/completions/taskwarrior-tui.fish b/completions/taskwarrior-tui.fish index e3f70be..3348ecd 100644 --- a/completions/taskwarrior-tui.fish +++ b/completions/taskwarrior-tui.fish @@ -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 diff --git a/src/cli.rs b/src/cli.rs index 2dc97e9..72f6403 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -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(