summaryrefslogtreecommitdiff
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
parent40b50c32510232b185f97e063003426515d41558 (diff)
Rename linpicker-debug -> linpicker-cli.
-rw-r--r--.gitignore2
-rw-r--r--src/Makefile.am4
-rw-r--r--src/debug.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index e819e72..0763645 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,7 +4,7 @@
# Project-specific targets
/src/linpicker-server
/src/linpicker-monitor
-/src/linpicker-debug
+/src/linpicker-cli
/src/linpicker-track
/data/genimage
/libvchan/node
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);