Apply apt-0.5.15cnc6-alt-quiet-update.patch
Added in commit a4e32c8
:
0.5.15cnc6-alt16
- apt-shell: -q option for update added
This commit is contained in:
parent
6ad87320c1
commit
afc2d58e1c
@ -1,23 +0,0 @@
|
||||
--- apt-0.5.15cnc6/cmdline/apt-shell.cc..quiet 2005-07-15 19:37:52 +0300
|
||||
+++ apt-0.5.15cnc6/cmdline/apt-shell.cc 2005-07-15 20:10:11 +0300
|
||||
@@ -4356,6 +4356,10 @@
|
||||
{'o',"option",0,CommandLine::ArbItem},
|
||||
{0,0,0,0}};
|
||||
|
||||
+ static CommandLine::Args UpdateArgs[] = {
|
||||
+ {'q',"quiet","quiet",CommandLine::IntLevel},
|
||||
+ {0,0,0,0}};
|
||||
+
|
||||
static CommandLine::Args NoArgs[] = {
|
||||
{'h',"help","help",0},
|
||||
{'v',"version","version",0},
|
||||
@@ -4389,6 +4393,9 @@
|
||||
case 655: // ls
|
||||
return ListArgs;
|
||||
|
||||
+ case 451231: // update
|
||||
+ return UpdateArgs;
|
||||
+
|
||||
default:
|
||||
return NoArgs;
|
||||
}
|
@ -4376,6 +4376,10 @@ CommandLine::Args *CommandArgs(const char *Name)
|
||||
{'o',"option",0,CommandLine::ArbItem},
|
||||
{0,0,0,0}};
|
||||
|
||||
static CommandLine::Args UpdateArgs[] = {
|
||||
{'q',"quiet","quiet",CommandLine::IntLevel},
|
||||
{0,0,0,0}};
|
||||
|
||||
static CommandLine::Args NoArgs[] = {
|
||||
{'h',"help","help",0},
|
||||
{'v',"version","version",0},
|
||||
@ -4409,6 +4413,9 @@ CommandLine::Args *CommandArgs(const char *Name)
|
||||
case 655: // ls
|
||||
return ListArgs;
|
||||
|
||||
case 451231: // update
|
||||
return UpdateArgs;
|
||||
|
||||
default:
|
||||
return NoArgs;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user