Skip to content

Commit acebb1b

Browse files
committed
refactor(cli): Rename config-file -> workspace-file
1 parent 7f62433 commit acebb1b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ from JSON and YAML.
9494
- `$ tmuxp -2`, `$ tmuxp -8` for forcing term colors a la
9595
{term}`tmux(1)`.
9696
- `$ tmuxp -L<socket-name>`, `$ tmuxp -S<socket-path>` for sockets and
97-
`$ tmuxp -f<config-file>` for config file.
97+
`$ tmuxp -f <workspace-file>` for config file.
9898

9999
[attempt at 1.7 test]: https://travis-ci.org/tmux-python/tmuxp/jobs/12348263
100100
[mit-licensed]: http://opensource.org/licenses/MIT

src/tmuxp/cli/convert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def create_convert_subparser(
1414
workspace_file = parser.add_argument(
1515
dest="workspace_file",
1616
type=str,
17-
metavar="config-file",
17+
metavar="workspace-file",
1818
help="checks tmuxp and current directory for workspace files.",
1919
)
2020
try:

src/tmuxp/cli/import_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def create_import_subparser(
7878
dest="workspace_file",
7979
type=str,
8080
nargs="?",
81-
metavar="config-file",
81+
metavar="workspace-file",
8282
help="checks current ~/.teamocil and current directory for yaml files",
8383
)
8484
import_teamocil.set_defaults(
@@ -96,7 +96,7 @@ def create_import_subparser(
9696
dest="workspace_file",
9797
type=str,
9898
nargs="?",
99-
metavar="config-file",
99+
metavar="workspace-file",
100100
help="checks current ~/.tmuxinator and current directory for yaml files",
101101
)
102102

src/tmuxp/cli/load.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ def create_load_subparser(parser: argparse.ArgumentParser) -> argparse.ArgumentP
495495
workspace_files = parser.add_argument(
496496
"workspace_files",
497497
nargs="+",
498-
metavar="config-file",
498+
metavar="workspace-file",
499499
help="filepath to session or filename of session if in tmuxp config directory",
500500
)
501501
parser.add_argument(

0 commit comments

Comments
 (0)