Put CAN_HARDLINK_SYMLINK info into --version output.
authorWayne Davison <wayne@opencoder.net>
Mon, 21 Sep 2020 20:17:15 +0000 (13:17 -0700)
committerWayne Davison <wayne@opencoder.net>
Mon, 21 Sep 2020 20:17:15 +0000 (13:17 -0700)
usage.c

diff --git a/usage.c b/usage.c
index f427263ecae095a15308a8dbccdafc82ed95b544..db13535f4a25291f3d4e537689241ca4727c617e 100644 (file)
--- a/usage.c
+++ b/usage.c
@@ -53,6 +53,16 @@ static void print_info_flags(enum logcode f)
 #endif
                        "socketpairs",
 
+#ifndef SUPPORT_LINKS
+               "no "
+#endif
+                       "symlinks",
+
+#ifndef CAN_SET_SYMLINK_TIMES
+               "no "
+#endif
+                       "symtimes",
+
 #ifndef SUPPORT_HARD_LINKS
                "no "
 #endif
@@ -63,10 +73,10 @@ static void print_info_flags(enum logcode f)
 #endif
                        "hardlink-specials",
 
-#ifndef SUPPORT_LINKS
+#ifndef CAN_HARDLINK_SYMLINK
                "no "
 #endif
-                       "symlinks",
+                       "hardlink-symlinks",
 
 #ifndef INET6
                "no "
@@ -112,11 +122,6 @@ static void print_info_flags(enum logcode f)
 #endif
                        "iconv",
 
-#ifndef CAN_SET_SYMLINK_TIMES
-               "no "
-#endif
-                       "symtimes",
-
 #ifndef SUPPORT_PREALLOCATION
                "no "
 #endif