From 58dabc15abcb20abb114d25de7a080860858b344 Mon Sep 17 00:00:00 2001 From: Guillaume Chazarain Date: Tue, 27 May 2008 14:52:24 +0200 Subject: [PATCH] Differentiate local paths from remote paths in the doc --- gsh.1 | 8 ++++---- gsh/control_commands.py | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/gsh.1 b/gsh.1 index 1e22ea0..14c9eec 100644 --- a/gsh.1 +++ b/gsh.1 @@ -47,7 +47,7 @@ Control commands are special purpose commands prefixed by a colon and directed a \fB:add NAMES...\fR Add one or many remote shells. .TP -\fB:chdir PATH\fR +\fB:chdir LOCAL_PATH\fR Change the current directory of \fIgsh\fR (not the remote shells). .TP \fB:disable [SHELLS...]\fR @@ -68,8 +68,8 @@ Do not echo the next typed line. This is useful when entering password. If debug \fB:list [SHELLS...]\fR List remote shells and their states. The special characters * ? and [] work as expected. .TP -\fB:log_output [PATH]\fR -Duplicate every console output into the given local file. If PATH is not given, restore the default behaviour of not logging the output. +\fB:log_output [LOCAL_PATH]\fR +Duplicate every console output into the given local file. If LOCAL_PATH is not given, restore the default behaviour of not logging the output. .TP \fB:print_read_buffer [SHELLS...]\fR Print the data read by remote shells. The special characters * ? and [] work as expected. @@ -86,7 +86,7 @@ Try to reconnect to disconnected remote shells. The special characters * ? and [ \fB:rename [NEW_NAME]\fR Rename all enabled remote shells with the argument. The argument will be shell expanded on the remote processes. With no argument, the original hostname will be restored as the displayed name. .TP -\fB:replicate SHELL:PATH\fR +\fB:replicate SHELL:REMOTE_PATH\fR Copy a path from one remote shell to all others .TP \fB:reset_prompt [SHELLS...]\fR diff --git a/gsh/control_commands.py b/gsh/control_commands.py index 375c7f1..9a4526b 100644 --- a/gsh/control_commands.py +++ b/gsh/control_commands.py @@ -106,7 +106,7 @@ def complete_chdir(line, text): def do_chdir(command): """ - Usage: :chdir PATH + Usage: :chdir LOCAL_PATH Change the current directory of gsh (not the remote shells). """ try: @@ -289,11 +289,11 @@ def complete_replicate(line, text): def do_replicate(command): """ - Usage: :replicate SHELL:PATH + Usage: :replicate SHELL:REMOTE_PATH Copy a path from one remote shell to all others """ if ':' not in command: - console_output('Usage: :replicate SHELL:PATH\n') + console_output('Usage: :replicate SHELL:REMOTE_PATH\n') return shell_name, path = command.split(':', 1) for shell in dispatchers.all_instances(): @@ -330,9 +330,9 @@ def complete_log_output(line, text): def do_log_output(command): """ - Usage: :log_output [PATH] + Usage: :log_output [LOCAL_PATH] Duplicate every console output into the given local file. - If PATH is not given, restore the default behaviour of not logging the + If LOCAL_PATH is not given, restore the default behaviour of not logging the output. """ if command: -- 2.11.4.GIT