On OS/2, colon is used to specify a drive name.

* src/tar.c (parse_opt): Subject.
---
 src/tar.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/tar.c b/src/tar.c
index cd32379..283b1ae 100644
--- a/src/tar.c
+++ b/src/tar.c
@@ -1358,6 +1358,10 @@ parse_opt (int key, char *arg, struct argp_state *state)
 {
   struct tar_args *args = state->input;
 
+#ifdef __OS2__
+    force_local_option = true;
+#endif
+
   switch (key)
     {
     case ARGP_KEY_ARG:
-- 
1.7.3.2


Reply via email to