changeset 583:d60e1d751b5b

Improve few comments.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 12 Jan 2020 13:00:58 +0200
parents 8c516309037e
children 390c66af09cf
files th_args.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/th_args.h	Sun Jan 12 00:01:41 2020 +0200
+++ b/th_args.h	Sun Jan 12 13:00:58 2020 +0200
@@ -36,8 +36,8 @@
 typedef struct
 {
     int id;           ///< Option ID (should be unique for each option)
-    char o_short;     ///< Short option name (one character)
-    char *o_long;     ///< Long option name
+    char o_short;     ///< Short option name (one character, can be 0 for none)
+    char *o_long;     ///< Long option name (can be NULL for none)
     char *desc;       ///< Option description
     int flags;        ///< Flags (see OPT_*)
 } th_optarg;