Commit Graph

23 Commits

Author SHA1 Message Date
Johan Danielsson
a5f54865d4 merge strcpy_truncate branch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5027 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-09 19:25:40 +00:00
Johan Danielsson
590817e798 (mandoc_template): Put short and long options in SYNOPSIS within the
same [ ] pair.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4997 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-05-31 01:24:01 +00:00
Johan Danielsson
052559a46f (arg_printusage): try to keep options shorter than column width
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4990 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-05-29 22:14:08 +00:00
Johan Danielsson
ea1a268a98 (mandoc_template): Put short and long options in DESCRIPTION on the
same line.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4976 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-05-28 23:19:12 +00:00
Johan Danielsson
c62e897e69 (arg_match_long): make sure you only get an exact match if the strings
are the same length


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4972 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-05-28 22:04:57 +00:00
Johan Danielsson
9d2c40aa7a Fix long form of negative flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4342 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-01-22 20:23:16 +00:00
Assar Westerlund
aa6cce306f (print_arg): take care of impossible case.
(arg_match_long): initialize variables to get rid of warnings.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4201 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-12-15 00:01:19 +00:00
Assar Westerlund
9b7dd54006 removed unused variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4089 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-12-04 03:37:17 +00:00
Johan Danielsson
aae2360a45 Add mandoc help back-end to getarg.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4080 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-30 13:56:51 +00:00
Johan Danielsson
96529dcd8d Add strings option.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2821 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-08 22:40:17 +00:00
Johan Danielsson
fb5c1e4044 Add statement after `out' label.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2656 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-27 16:19:51 +00:00
Assar Westerlund
358e048a00 fix bug parsing `no'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2634 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-25 15:36:06 +00:00
Johan Danielsson
60088b2061 Handle `-f arg' correctly.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2579 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-24 06:13:56 +00:00
Assar Westerlund
8870be78cb clearer code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2454 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-19 01:25:13 +00:00
Assar Westerlund
48ef709a3f n -> number, s -> string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2453 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-19 01:18:42 +00:00
Assar Westerlund
3daaa8484a support a string for the argument name
print negative flags with `no-'


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2452 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-19 01:12:42 +00:00
Assar Westerlund
daf3b9e2d5 print arguments in long usage as well.
extend test


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2451 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-19 00:59:51 +00:00
Assar Westerlund
c1e4dfeb1a implement =maybe
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2450 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-19 00:42:23 +00:00
Assar Westerlund
956c6cccde accept any number of no-
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2449 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-19 00:35:55 +00:00
Assar Westerlund
ec5a6608ff line-up help strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2448 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-19 00:25:35 +00:00
Assar Westerlund
269dd2347c partial matching for long options
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2447 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-19 00:15:35 +00:00
Assar Westerlund
5bb7f6f656 arg_printusage and some fixes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2444 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-18 23:17:30 +00:00
Johan Danielsson
e0462efe8a New option parsing code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2435 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-18 21:58:58 +00:00