aboutsummaryrefslogtreecommitdiff
path: root/sam.c
diff options
context:
space:
mode:
Diffstat (limited to 'sam.c')
-rw-r--r--sam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sam.c b/sam.c
index 2c6152c..6c6a6b2 100644
--- a/sam.c
+++ b/sam.c
@@ -147,7 +147,7 @@ static const CommandDef cmds[] = {
CMD_NONE, NULL, cmd_print
}, {
"s", "Substitute text for regexp in range",
- CMD_SHELL, NULL, cmd_substitute
+ CMD_SHELL|CMD_ADDRESS_LINE, NULL, cmd_substitute
}, {
"v", "If range does not contain regexp, run command",
CMD_CMD|CMD_REGEX, "p", cmd_guard