Junxiao Shi | 331ade7 | 2016-08-19 14:07:19 +0000 | [diff] [blame] | 1 | #!@BASH@ |
Junxiao Shi | 934f505 | 2016-11-28 16:13:21 +0000 | [diff] [blame^] | 2 | if [[ $# -gt 0 ]]; then |
3 | echo 'nfd-status command line options are deprecated.' >&2 | ||||
4 | echo 'Use the `nfdc` subcommands instead. See `nfdc help` for details.' >&2 | ||||
5 | exec "$(dirname "$0")/nfdc" legacy-nfd-status "$@" | ||||
6 | else | ||||
7 | # nfd-status is an alias of `nfdc status report` | ||||
8 | exec "$(dirname "$0")/nfdc" status report | ||||
9 | fi |