summaryrefslogtreecommitdiffstats
path: root/remote-process
diff options
context:
space:
mode:
authorKevin Rocard <kevinx.rocard@intel.com>2013-04-18 14:57:13 +0200
committerDavid Wagner <david.wagner@intel.com>2014-02-12 17:03:51 +0100
commit06b88e266b989d1e526348ec3edbaf5aad8bd046 (patch)
treeac3f1fe868249a1e3cdda15009977ba2b90f7ff2 /remote-process
parentf639bf4bb2ab4cba8380254d44f2068368be8026 (diff)
downloadexternal_parameter-framework-06b88e266b989d1e526348ec3edbaf5aad8bd046.zip
external_parameter-framework-06b88e266b989d1e526348ec3edbaf5aad8bd046.tar.gz
external_parameter-framework-06b88e266b989d1e526348ec3edbaf5aad8bd046.tar.bz2
[remote-process] Change usage message
BZ: 97960 The old usage message was not a clasic unix command usage message. Change it to "hostname port command [argument[s]]" Change-Id: I40f18e6ac81ef05e634fc5f78c8d19a202bb7a84 Signed-off-by: Kevin Rocard <kevinx.rocard@intel.com> Reviewed-on: http://android.intel.com:8080/102657 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Gonzalve, Sebastien <sebastien.gonzalve@intel.com> Tested-by: Dixon, CharlesX <charlesx.dixon@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'remote-process')
-rw-r--r--remote-process/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/remote-process/main.cpp b/remote-process/main.cpp
index e5f7bf5..e2e372e 100644
--- a/remote-process/main.cpp
+++ b/remote-process/main.cpp
@@ -30,14 +30,14 @@
using namespace std;
-// <program> <target> <port> <cmd> <arg>*
+// hostname port command [argument[s]]
int main(int argc, char *argv[])
{
// Enough args?
if (argc < 4) {
cerr << "Missing arguments" << endl;
- cerr << "Usage: " << argv[0] << " <target> <port> <cmd> <arg>*" << endl;
+ cerr << "Usage: " << argv[0] << " hostname port command [argument[s]]" << endl;
return -1;
}