mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Rename command clean to clean-tmp
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
8ab15075a4
commit
69236018a8
4 changed files with 8 additions and 8 deletions
|
@ -6,7 +6,7 @@ Updated:
|
||||||
Fixed:
|
Fixed:
|
||||||
- Bugfix: update slpkg itself from gitlab repository
|
- Bugfix: update slpkg itself from gitlab repository
|
||||||
Added:
|
Added:
|
||||||
- Command clean to remove the packages and the sources from /tmp/slpkg/ directory
|
- Command 'clean-tmp' to remove the packages and the sources from /tmp/slpkg/ directory
|
||||||
|
|
||||||
3.3.9 - 14/01/2019
|
3.3.9 - 14/01/2019
|
||||||
Updated:
|
Updated:
|
||||||
|
|
|
@ -153,8 +153,8 @@ Additional options:
|
||||||
This command searches for .new configuration files in /etc/ path and ask the user what todo with those
|
This command searches for .new configuration files in /etc/ path and ask the user what todo with those
|
||||||
files.
|
files.
|
||||||
|
|
||||||
.SS clean, the tmp/ directory
|
.SS clean-tmp, the tmp/ directory
|
||||||
\fBslpkg\fP \fBclean\fP
|
\fBslpkg\fP \fBclean-tmp\fP
|
||||||
.PP
|
.PP
|
||||||
Clean the /tmp/slpkg/ directory from downloaded packages and sources.
|
Clean the /tmp/slpkg/ directory from downloaded packages and sources.
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,7 @@ Commands:
|
||||||
|
|
||||||
new-config Manage .new configuration files.
|
new-config Manage .new configuration files.
|
||||||
|
|
||||||
clean Clean the tmp/ directory from
|
clean-tmp Clean the tmp/ directory from
|
||||||
downloaded packages and sources.
|
downloaded packages and sources.
|
||||||
Optional arguments:
|
Optional arguments:
|
||||||
-h | --help Print this help message and exit.
|
-h | --help Print this help message and exit.
|
||||||
|
@ -186,7 +186,7 @@ def usage(repo):
|
||||||
[health, --silent]
|
[health, --silent]
|
||||||
[deps-status, --tree, --graph=[type]]
|
[deps-status, --tree, --graph=[type]]
|
||||||
[new-config]
|
[new-config]
|
||||||
[clean]
|
[clean-tmp]
|
||||||
|
|
||||||
Optional arguments:
|
Optional arguments:
|
||||||
[-h] [-v]
|
[-h] [-v]
|
||||||
|
|
|
@ -241,9 +241,9 @@ class ArgParse(object):
|
||||||
else:
|
else:
|
||||||
usage("")
|
usage("")
|
||||||
|
|
||||||
def command_clean(self):
|
def command_clean_tmp(self):
|
||||||
"""Clean all downloaded packages and sources"""
|
"""Clean all downloaded packages and sources"""
|
||||||
if len(self.args) == 1 and self.args[0] == "clean":
|
if len(self.args) == 1 and self.args[0] == "clean-tmp":
|
||||||
clean_tmp()
|
clean_tmp()
|
||||||
else:
|
else:
|
||||||
usage("")
|
usage("")
|
||||||
|
@ -815,7 +815,7 @@ def main():
|
||||||
"health": argparse.command_health,
|
"health": argparse.command_health,
|
||||||
"deps-status": argparse.command_deps_status,
|
"deps-status": argparse.command_deps_status,
|
||||||
"new-config": argparse.command_new_config,
|
"new-config": argparse.command_new_config,
|
||||||
"clean": argparse.command_clean,
|
"clean-tmp": argparse.command_clean_tmp,
|
||||||
"-a": argparse.auto_build,
|
"-a": argparse.auto_build,
|
||||||
"--autobuild": argparse.auto_build,
|
"--autobuild": argparse.auto_build,
|
||||||
"-l": argparse.pkg_list,
|
"-l": argparse.pkg_list,
|
||||||
|
|
Loading…
Add table
Reference in a new issue