diff options
author | Werner Koch <[email protected]> | 1999-04-18 08:18:52 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1999-04-18 08:18:52 +0000 |
commit | 1feae2011ccd122ffb9a8f28013a13e57fc0b4fd (patch) | |
tree | 981a2000ffe3b4349bf3f2b8dbe845a60c15c95a /util/argparse.c | |
parent | See ChangeLog: Fri Apr 9 12:26:25 CEST 1999 Werner Koch (diff) | |
download | gnupg-1feae2011ccd122ffb9a8f28013a13e57fc0b4fd.tar.gz gnupg-1feae2011ccd122ffb9a8f28013a13e57fc0b4fd.zip |
See ChangeLog: Sun Apr 18 10:11:28 CEST 1999 Werner Koch
Diffstat (limited to 'util/argparse.c')
-rw-r--r-- | util/argparse.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/util/argparse.c b/util/argparse.c index 83efc0f64..707d75ecf 100644 --- a/util/argparse.c +++ b/util/argparse.c @@ -197,15 +197,20 @@ initialize( ARGPARSE_ARGS *arg, const char *filename, unsigned *lineno ) } - static void store_alias( ARGPARSE_ARGS *arg, char *name, char *value ) { + /* TODO: replace this dummy function with a rea one + * and fix the probelms IRIX has with (ALIAS_DEV)arg.. + * used as lvalue + */ +#if 0 ALIAS_DEF a = m_alloc( sizeof *a ); a->name = name; a->value = value; a->next = (ALIAS_DEF)arg->internal.aliases; (ALIAS_DEF)arg->internal.aliases = a; +#endif } /**************** @@ -418,7 +423,7 @@ find_long_option( ARGPARSE_ARGS *arg, /* see whether it is an alias */ for( a = args->internal.aliases; a; a = a->next ) { if( !strcmp( a->name, keyword) ) { - /* fixme: must parse the alias here */ + /* todo: must parse the alias here */ args->internal.cur_alias = a; return -3; /* alias available */ } |