summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2011-07-01 14:09:39 -0400
committerEamon Walsh <ewalsh@tycho.nsa.gov>2011-07-01 14:09:39 -0400
commit0b716a87000f86e4537611336ac96f54466759bd (patch)
tree3463d932b6d849207e1bd7e6ac57d5e07aab616f /src
parent40b50c32510232b185f97e063003426515d41558 (diff)
Rename linpicker-debug -> linpicker-cli.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am4
-rw-r--r--src/debug.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 724941c..4391af2 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -21,6 +21,6 @@ linpicker_track_SOURCES = track.c
linpicker_track_LDADD = ../libvchan/libvchan.la -lxenctrl -lxenstore $(XCB_LIBS)
if LOCALSOCK
-noinst_PROGRAMS = linpicker-debug
-linpicker_debug_SOURCES = debug.c
+noinst_PROGRAMS = linpicker-cli
+linpicker_cli_SOURCES = debug.c
endif
diff --git a/src/debug.c b/src/debug.c
index 7946f0b..a4c209a 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -11,7 +11,7 @@
*
* @section DESCRIPTION
*
- * This is the linpicker_cli program that can send debugging commands to
+ * This is the linpicker-cli program that can send debugging commands to
* linpicker-server over a local socket if linpicker-server was compiled
* with the "enable-socket" configure-time option (default: disabled).
*/
@@ -42,7 +42,7 @@ main(int argc, char **argv)
int sd;
if (argc != 2)
- bail("Usage: linpicker-debug <code>\n\t0 - Dump views\n");
+ bail("Usage: linpicker-cli <code>\n\t0 - Dump views\n");
msg = atoi(argv[1]);
sd = socket(AF_UNIX, SOCK_DGRAM, 0);