Skip to content

Commit bcbdedc

Browse files
committed
chore: improve --workdir option description
Updated the help text for the --workdir command line option in both ll-builder and ll-cli applications. Changed from "Working directory inside the app" to "Specify the working directory where the application runs" to provide clearer and more accurate description of the option's functionality. The previous description was somewhat ambiguous and didn't clearly indicate that this option specifies the directory where the application will execute. The new description better communicates the purpose of the --workdir option to users. Influence: 1. Verify --workdir option help text displays correctly in both applications 2. Test that the option functionality remains unchanged 3. Confirm help text consistency across different command help sections 4. Check that option validation and parsing behavior is unaffected
1 parent 53ae73b commit bcbdedc

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

apps/ll-builder/src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ You can report bugs to the linyaps team under this project: https://github.com/O
788788
->delimiter(',')
789789
->allow_extra_args(false)
790790
->type_name("modules");
791-
buildRun->add_option("--workdir", runOpts.workdir, _("Working directory inside the app"))
791+
buildRun->add_option("--workdir", runOpts.workdir, _("Specify the working directory where the application runs"))
792792
->type_name("PATH");
793793
buildRun->add_option(
794794
"COMMAND",

apps/ll-cli/src/main.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,10 @@ ll-cli run org.deepin.demo -- bash -x /path/to/bash/script)"));
179179
_("Specify the runtime used by the application to run"))
180180
->type_name("REF")
181181
->check(validatorString);
182-
cliRun->add_option("--workdir", runOptions.workdir, _("Working directory inside the app"))
182+
cliRun
183+
->add_option("--workdir",
184+
runOptions.workdir,
185+
_("Specify the working directory where the application runs"))
183186
->type_name("PATH");
184187
cliRun
185188
->add_option("--extensions",

0 commit comments

Comments
 (0)