Show More
@@ -1214,7 +1214,11 b' def help_(ui, name=None, with_version=Fa' | |||
|
1214 | 1214 | ui.write('\n') |
|
1215 | 1215 | aliases, i = cmdutil.findcmd(ui, name, table) |
|
1216 | 1216 | # synopsis |
|
1217 |
ui.write("%s |
|
|
1217 | ui.write("%s\n" % i[2]) | |
|
1218 | ||
|
1219 | # aliases | |
|
1220 | if not ui.quiet and len(aliases) > 1: | |
|
1221 | ui.write(_("\naliases: %s\n") % ', '.join(aliases[1:])) | |
|
1218 | 1222 | |
|
1219 | 1223 | # description |
|
1220 | 1224 | doc = i[0].__doc__ |
@@ -1222,13 +1226,9 b' def help_(ui, name=None, with_version=Fa' | |||
|
1222 | 1226 | doc = _("(No help text available)") |
|
1223 | 1227 | if ui.quiet: |
|
1224 | 1228 | doc = doc.splitlines(0)[0] |
|
1225 | ui.write("%s\n" % doc.rstrip()) | |
|
1229 | ui.write("\n%s\n" % doc.rstrip()) | |
|
1226 | 1230 | |
|
1227 | 1231 | if not ui.quiet: |
|
1228 | # aliases | |
|
1229 | if len(aliases) > 1: | |
|
1230 | ui.write(_("\naliases: %s\n") % ', '.join(aliases[1:])) | |
|
1231 | ||
|
1232 | 1232 | # options |
|
1233 | 1233 | if i[1]: |
|
1234 | 1234 | option_lists.append((_("options:\n"), i[1])) |
@@ -211,6 +211,8 b' options:' | |||
|
211 | 211 | use "hg -v help diff" to show global options |
|
212 | 212 | hg status [OPTION]... [FILE]... |
|
213 | 213 | |
|
214 | aliases: st | |
|
215 | ||
|
214 | 216 | show changed files in the working directory |
|
215 | 217 | |
|
216 | 218 | Show status of files in the repository. If names are given, only |
@@ -235,8 +237,6 b' show changed files in the working direct' | |||
|
235 | 237 | I = ignored (not shown by default) |
|
236 | 238 | = the previous added file was copied from here |
|
237 | 239 | |
|
238 | aliases: st | |
|
239 | ||
|
240 | 240 | options: |
|
241 | 241 | |
|
242 | 242 | -A --all show status of all files |
General Comments 0
You need to be logged in to leave comments.
Login now