Skip to content

Commit

Permalink
Document the "-N", "-g" and "-z" options in the "help" command's
Browse files Browse the repository at this point in the history
help page.
(k-hagio@ab.jp.nec.com)
  • Loading branch information
Dave Anderson committed May 7, 2019
1 parent e1bdd27 commit 3fe4602
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions help.c
Original file line number Diff line number Diff line change
Expand Up @@ -647,13 +647,15 @@ cmd_help(void)
fprintf(fp, " -D - dumpfile contents/statistics\n");
fprintf(fp, " -e - extension table data\n");
fprintf(fp, " -f - filesys table\n");
fprintf(fp, " -g - gdb data\n");
fprintf(fp, " -h - hash_table data\n");
fprintf(fp, " -H - hash_table data (verbose)\n");
fprintf(fp, " -k - kernel_table\n");
fprintf(fp, " -K - kernel_table (verbose)\n");
fprintf(fp, " -L - LKCD page cache environment\n");
fprintf(fp, " -M <num> machine specific\n");
fprintf(fp, " -m - machdep_table\n");
fprintf(fp, " -N - net_table\n");
fprintf(fp, " -n - dumpfile contents/statistics\n");
fprintf(fp, " -o - offset_table and size_table\n");
fprintf(fp, " -p - program_context\n");
Expand All @@ -664,6 +666,7 @@ cmd_help(void)
fprintf(fp, " -v - vm_table\n");
fprintf(fp, " -V - vm_table (verbose)\n");
fprintf(fp, " -x - text cache\n");
fprintf(fp, " -z - help options\n");
return;

case 'L':
Expand Down Expand Up @@ -1004,13 +1007,15 @@ char *help_help[] = {
" -D - dumpfile contents/statistics",
" -e - extension table data",
" -f - filesys table",
" -g - gdb data",
" -h - hash_table data",
" -H - hash_table data (verbose)",
" -k - kernel_table",
" -K - kernel_table (verbose)",
" -L - LKCD page cache environment",
" -M <num> machine specific",
" -m - machdep_table",
" -N - net_table",
" -n - dumpfile contents/statistics",
" -o - offset_table and size_table",
" -p - program_context",
Expand All @@ -1021,6 +1026,7 @@ char *help_help[] = {
" -v - vm_table",
" -V - vm_table (verbose)",
" -x - text cache",
" -z - help options",
NULL
};

Expand Down
2 changes: 1 addition & 1 deletion net.c
Original file line number Diff line number Diff line change
Expand Up @@ -1279,7 +1279,7 @@ dump_hw_addr(unsigned char *ha, int len)
}

/*
* help -n output
* help -N output
*/
void
dump_net_table(void)
Expand Down

0 comments on commit 3fe4602

Please sign in to comment.