---
client/commands.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/client/commands.c b/client/commands.c
index c7f077e..e1d1cd3 100644
--- a/client/commands.c
+++ b/client/commands.c
@@ -671,8 +671,12 @@ static const struct {
static int cmd_help(char *args[], int num, struct option *options)
{
+ bool interactive = __connmanctl_is_interactive();
int i, j;
+ if (interactive == false)
+ fprintf(stdout, "Usage: connmanctl [[command] [args]]\n");
+
for (i = 0; cmd_table[i].cmd != NULL; i++) {
const char *cmd = cmd_table[i].cmd;
const char *argument = cmd_table[i].argument;
@@ -696,6 +700,10 @@ static int cmd_help(char *args[], int num, struct option
*options)
}
}
+ if (interactive == false)
+ fprintf(stdout, "\nNote: arguments and output are considered "
+ "EXPERIMENTAL for now.\n");
+
return 0;
}
--
1.7.10.4
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman