[cowdancer] 01/02: parameter.c: Drop deprecation warnings; at least one rdep will trigger these
James Clarke
jrtc27 at moszumanska.debian.org
Tue Jan 31 17:17:22 UTC 2017
This is an automated email from the git hooks/post-receive script.
jrtc27 pushed a commit to branch master
in repository cowdancer.
commit 7ffc3573765be472c3b3cfd8573a211868a03124
Author: James Clarke <jrtc27 at debian.org>
Date: Tue Jan 31 17:15:07 2017 +0000
parameter.c: Drop deprecation warnings; at least one rdep will trigger these
---
parameter.c | 36 ------------------------------------
1 file changed, 36 deletions(-)
diff --git a/parameter.c b/parameter.c
index c2b803a..1e8f4b6 100644
--- a/parameter.c
+++ b/parameter.c
@@ -578,57 +578,21 @@ int parse_parameter(int ac, char **av, const char *keyword) {
/* Handle deprecated command placement */
if (!strcmp(long_options[index_point].name, "build")) {
pc.operation = pbuilder_build;
- log_printf(
- log_warn,
- "Passing the command as an option is deprecated and will be removed in future.");
- log_printf(
- log_warn,
- "Please give it as the first argument - cowbuilder build [options] .dsc-file");
break;
} else if (!strcmp(long_options[index_point].name, "create")) {
pc.operation = pbuilder_create;
- log_printf(
- log_warn,
- "Passing the command as an option is deprecated and will be removed in future.");
- log_printf(
- log_warn,
- "Please give it as the first argument - cowbuilder create [options]");
break;
} else if (!strcmp(long_options[index_point].name, "update")) {
pc.operation = pbuilder_update;
- log_printf(
- log_warn,
- "Passing the command as an option is deprecated and will be removed in future.");
- log_printf(
- log_warn,
- "Please give it as the first argument - cowbuilder update [options]");
break;
} else if (!strcmp(long_options[index_point].name, "login")) {
pc.operation = pbuilder_login;
- log_printf(
- log_warn,
- "Passing the command as an option is deprecated and will be removed in future.");
- log_printf(
- log_warn,
- "Please give it as the first argument - cowbuilder login [options]");
break;
} else if (!strcmp(long_options[index_point].name, "execute")) {
pc.operation = pbuilder_execute;
- log_printf(
- log_warn,
- "Passing the command as an option is deprecated and will be removed in future.");
- log_printf(
- log_warn,
- "Please give it as the first argument - cowbuilder execute [options] -- script [script options]");
break;
} else if (!strcmp(long_options[index_point].name, "dumpconfig")) {
pc.operation = pbuilder_dumpconfig;
- log_printf(
- log_warn,
- "Passing the command as an option is deprecated and will be removed in future.");
- log_printf(
- log_warn,
- "Please give it as the first argument - cowbuilder dumpconfig [options]");
break;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/cowdancer.git
More information about the Pbuilder-maint
mailing list