diff options
author | Werner Koch <[email protected]> | 2015-06-17 10:59:29 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-06-17 10:59:29 +0000 |
commit | 010d26a85bfe15c4aa12eefeab851dbde0609c26 (patch) | |
tree | 539f5f9a035ccb83861fe63a0390c0d317573b0d /g10/misc.c | |
parent | dirmngr: Cleanup zombies and fix hang on shutdown. (diff) | |
download | gnupg-010d26a85bfe15c4aa12eefeab851dbde0609c26.tar.gz gnupg-010d26a85bfe15c4aa12eefeab851dbde0609c26.zip |
agent: Print a warning for obsolete options.
* g10/misc.c (obsolete_scdaemon_option): Move to
* common/miscellaneous.c (obsolete_option): ... here.
* agent/gpg-agent.c (main): Use obsolete_option for the 3 obsolete
options.
--
GnuPG-bug-id: 2016
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/misc.c')
-rw-r--r-- | g10/misc.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/g10/misc.c b/g10/misc.c index 654908d37..9134b2823 100644 --- a/g10/misc.c +++ b/g10/misc.c @@ -1013,19 +1013,6 @@ deprecated_command (const char *name) void -obsolete_option (const char *configname, unsigned int configlineno, - const char *name) -{ - if(configname) - log_info (_("%s:%u: obsolete option \"%s\" - it has no effect\n"), - configname, configlineno, name); - else - log_info (_("WARNING: \"%s%s\" is an obsolete option - it has no effect\n"), - "--", name); -} - - -void obsolete_scdaemon_option (const char *configname, unsigned int configlineno, const char *name) { |