Browse Source

fix(bin/emqx): typo in bin/emqx usage info

Zaiming (Stone) Shi 3 years ago
parent
commit
74ce4ec606
1 changed files with 2 additions and 2 deletions
  1. 2 2
      bin/emqx

+ 2 - 2
bin/emqx

@@ -104,14 +104,14 @@ usage() {
         echo "Print path to Erlang runtime bin dir"
         echo "Print path to Erlang runtime bin dir"
         ;;
         ;;
     rpc)
     rpc)
-        echo "Usge $REL_NAME rpc MODULE FUNCTION [ARGS, ...]"
+        echo "Usage: $REL_NAME rpc MODULE FUNCTION [ARGS, ...]"
         echo "Connect to the EMQX node and make an Erlang RPC"
         echo "Connect to the EMQX node and make an Erlang RPC"
         echo "This command blocks for at most 60 seconds."
         echo "This command blocks for at most 60 seconds."
         echo "It exits with non-zero code in case of any RPC failure"
         echo "It exits with non-zero code in case of any RPC failure"
         echo "including connection error and runtime exception"
         echo "including connection error and runtime exception"
         ;;
         ;;
     rpcterms)
     rpcterms)
-        echo "Usge $REL_NAME rpcterms MODULE FUNCTION [ARGS, ...]"
+        echo "Usage: $REL_NAME rpcterms MODULE FUNCTION [ARGS, ...]"
         echo "Connect to the EMQX node and make an Erlang RPC"
         echo "Connect to the EMQX node and make an Erlang RPC"
         echo "The result of the RPC call is pretty-printed as an "
         echo "The result of the RPC call is pretty-printed as an "
         echo "Erlang term"
         echo "Erlang term"