diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2022-04-19 14:57:03 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-19 14:57:03 -0400 |
| commit | 95ffdb6475c40fda9e13cde212c53ef7f5578720 (patch) | |
| tree | ab76a6b2419eab4652cba2cae86ab23ec4299e3b | |
| parent | 16b5065b47d38d0464e81d5302445da8fbaf8fe3 (diff) | |
| parent | 9c2f5943aa3506c264b3cbaf3af42c8fa7dbc1ef (diff) | |
Merge pull request #11049 from opensourcerouting/fix/usage_for_frrinit.sh
tools: Print usage for frrinit.sh when running without arguments
| -rw-r--r-- | tools/frrinit.sh.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/frrinit.sh.in b/tools/frrinit.sh.in index df5f0853da..bc93ea33f0 100644 --- a/tools/frrinit.sh.in +++ b/tools/frrinit.sh.in @@ -127,6 +127,8 @@ reload) ;; *) - log_failure_msg "Unknown command: $1" >&2 + echo "Usage:" + echo " ${0} (start|stop|restart|force-reload|reload|status)" exit 1 + ;; esac |
