diff options
author | Michael Neuling <mikey@neuling.org> | 2018-06-07 16:54:33 +1000 |
---|---|---|
committer | Alistair Popple <alistair@popple.id.au> | 2018-06-15 14:28:51 +1000 |
commit | 9c7a77ca5867bcd8d5e8bed32f392326131d9ffe (patch) | |
tree | 2bf3d1086a35f5ca0ab652f7c452ed5bc4638a5a /src/htm.c | |
parent | 3efee1605cc287f213da76d5449bdbb8a324759b (diff) | |
download | pdbg-9c7a77ca5867bcd8d5e8bed32f392326131d9ffe.tar.gz pdbg-9c7a77ca5867bcd8d5e8bed32f392326131d9ffe.zip |
Remove htm_* options
These have been marked deprecated for a while and are just taking up
room in the help, so let's remove them.
The are replaced with "htm core|nest [options]"
Signed-off-by: Michael Neuling <mikey@neuling.org>
Diffstat (limited to 'src/htm.c')
-rw-r--r-- | src/htm.c | 95 |
1 files changed, 0 insertions, 95 deletions
@@ -380,98 +380,3 @@ int run_htm(int optind, int argc, char *argv[]) return rc; } - -/* - * Handle the deprecated commands by telling the user what the new - * command is. - */ -int run_htm_start(int optind, int argc, char *argv[]) -{ - int i; - - fprintf(stderr, "You're running a deprecated command!\n"); - fprintf(stderr, "Please use:\n"); - for (i = 0; i < optind; i++) - fprintf(stderr, "%s ", argv[i]); - fprintf(stderr, "htm nest start\n"); - - return 0; -} - -int run_htm_stop(int optind, int argc, char *argv[]) -{ - int i; - - fprintf(stderr, "You're running a deprecated command!\n"); - fprintf(stderr, "Please use:\n"); - for (i = 0; i < optind; i++) - fprintf(stderr, "%s ", argv[i]); - fprintf(stderr, "htm nest stop\n"); - - return 0; -} - -int run_htm_status(int optind, int argc, char *argv[]) -{ - int i; - - fprintf(stderr, "You're running a deprecated command!\n"); - fprintf(stderr, "Please use:\n"); - for (i = 0; i < optind; i++) - fprintf(stderr, "%s ", argv[i]); - fprintf(stderr, "htm nest status\n"); - - return 0; -} - -int run_htm_reset(int optind, int argc, char *argv[]) -{ - int i; - - fprintf(stderr, "You're running a deprecated command!\n"); - fprintf(stderr, "Please use:\n"); - for (i = 0; i < optind; i++) - fprintf(stderr, "%s ", argv[i]); - fprintf(stderr, "htm nest reset\n"); - - return 0; -} - -int run_htm_dump(int optind, int argc, char *argv[]) -{ - int i; - - fprintf(stderr, "You're running a deprecated command!\n"); - fprintf(stderr, "Please use:\n"); - for (i = 0; i < optind; i++) - fprintf(stderr, "%s ", argv[i]); - fprintf(stderr, "htm nest dump\n"); - - return 0; -} - -int run_htm_trace(int optind, int argc, char *argv[]) -{ - int i; - - fprintf(stderr, "You're running a deprecated command!\n"); - fprintf(stderr, "Please use:\n"); - for (i = 0; i < optind; i++) - fprintf(stderr, "%s ", argv[i]); - fprintf(stderr, "htm nest trace\n"); - - return 0; -} - -int run_htm_analyse(int optind, int argc, char *argv[]) -{ - int i; - - fprintf(stderr, "You're running a deprecated command!\n"); - fprintf(stderr, "Please use:\n"); - for (i = 0; i < optind; i++) - fprintf(stderr, "%s ", argv[i]); - fprintf(stderr, "htm nest analyse\n"); - - return 0; -} |