aboutsummaryrefslogtreecommitdiffhomepage
path: root/builtin.cpp
diff options
context:
space:
mode:
authorGravatar Andreas Heiduk <asheiduk@gmail.com>2014-11-07 19:05:09 +0100
committerGravatar Andreas Heiduk <asheiduk@gmail.com>2014-11-07 19:05:09 +0100
commit09bac97bb48c4682648ffea3c3a5290568606334 (patch)
treea5a6f7e5a98a474ec67eebfd3debba21c8bdeee5 /builtin.cpp
parent701a37fd00a37563bd4645e6a0c93144dd1b0551 (diff)
Align `fg` and `bg` commands: With no parameters `fg` prints the help.
`bg` on the other hand only prints `no job`. Now both print `no job`.
Diffstat (limited to 'builtin.cpp')
-rw-r--r--builtin.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin.cpp b/builtin.cpp
index ac8def93..e2fd3231 100644
--- a/builtin.cpp
+++ b/builtin.cpp
@@ -3502,7 +3502,6 @@ static int builtin_fg(parser_t &parser, wchar_t **argv)
append_format(stderr_buffer,
_(L"%ls: There are no suitable jobs\n"),
argv[0]);
- builtin_print_help(parser, argv[0], stderr_buffer);
}
}
else if (argv[2] != 0)