aboutsummaryrefslogtreecommitdiffstats
path: root/pw.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-05-16 19:03:17 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-05-16 19:07:20 -0700
commit46c52e5e2f70749803b2a3906e2da1d6d0b1fdf8 (patch)
treeb146af809eca1e19bee40f50bb23ea088ba97b3c /pw.1
parent12151ce51d36ab073f09b54973761c1da735c87b (diff)
downloadpw-46c52e5e2f70749803b2a3906e2da1d6d0b1fdf8.tar.gz
pw-46c52e5e2f70749803b2a3906e2da1d6d0b1fdf8.tar.bz2
pw-46c52e5e2f70749803b2a3906e2da1d6d0b1fdf8.zip
Change :s to :sa.
Diffstat (limited to 'pw.1')
-rw-r--r--pw.118
1 files changed, 15 insertions, 3 deletions
diff --git a/pw.1 b/pw.1
index 3f05bdc..c773b1c 100644
--- a/pw.1
+++ b/pw.1
@@ -589,8 +589,20 @@ letters
.B a
through
.R z ,
-upper or lower case. Currently, no
-command has a name more than one letter long. The command may be followed
+upper or lower case. Only the first two letters of a command are significant:
+for instance, the command
+.B :save
+is actually
+.BR :sa .
+Commands which are one letter long may not be written with superfluous
+letters, though. For instance,
+.B :grep
+is not understood as
+.B :g
+but as the (nonexistent) command
+.BR :gr .
+
+The command may be followed
by an argument, which is separated from the command by exactly one space.
If the argument does not begin with a lower-case letter, then the space
may be omitted. If the command is followed by no characters at all, or
@@ -744,7 +756,7 @@ Sets the display parameters, exactly in the manner of the
option. Any parameters not specified are reset to their default initial values:
zero in the case of character positions, off in the case of flags.
-.IP "\fB:s\fP [\fIfilename\fP]"
+.IP "\fB:sa\fP [\fIfilename\fP]"
Save a snapshot of the configuration state to the specified file.
The state is saved as a sequence of colon and trigger commands,
such that the resulting file is suitable as an argument to the