summaryrefslogtreecommitdiff
path: root/dsimple.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-05-31 23:15:25 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-05-31 23:15:25 -0700
commita0b3cf16cdd208ca9b0c86631999df047cbe8817 (patch)
tree4a1470233ceaff649da7c4456ae3cc381beef4dd /dsimple.h
parentf37a5d583909db89059826cf3dcfe24e7b95164e (diff)
Print which option was in error along with usage message
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'dsimple.h')
-rw-r--r--dsimple.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dsimple.h b/dsimple.h
index 0ecd10f..41a1e1c 100644
--- a/dsimple.h
+++ b/dsimple.h
@@ -62,7 +62,7 @@ extern int screen; /* The current screen */
void Setup_Display_And_Screen(int *, char **);
void Close_Display(void);
-void usage(void) _X_NORETURN;
+void usage(const char *errmsg) _X_NORETURN;
#define X_USAGE "[host:display]" /* X arguments handled by
Get_Display_Name */