tools: delete legacy nfdc and nfd-status invocations
The following legacy nfdc sub-commands are deleted:
- register
- unregister
- create
- destroy
- set-strategy
- unset-strategy
- add-nexthop
- remove nexthop
nfd-status no longer accepts command line arguments.
refs #4198
Change-Id: I3ec61fd24c09599c87f07bd92d8f0b5f4e7c70de
diff --git a/tools/nfd-status.sh b/tools/nfd-status.sh
index 6b9336e..f306b9d 100755
--- a/tools/nfd-status.sh
+++ b/tools/nfd-status.sh
@@ -1,9 +1,2 @@
#!@BASH@
-if [[ $# -gt 0 ]]; then
- echo 'nfd-status command line options are deprecated.' >&2
- echo 'Use the `nfdc` subcommands instead. See `nfdc help` for details.' >&2
- exec "$(dirname "$0")/nfdc" legacy-nfd-status "$@"
-else
- # nfd-status is an alias of `nfdc status report`
- exec "$(dirname "$0")/nfdc" status report
-fi
+exec "$(dirname "$0")/nfdc" status report