diff options
Diffstat (limited to 'src/main.nim')
-rw-r--r-- | src/main.nim | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.nim b/src/main.nim index 54fbb08..a149000 100644 --- a/src/main.nim +++ b/src/main.nim @@ -3,11 +3,12 @@ import args, config, format, pacman, utils import + "feature/localquery", + "feature/syncclean", "feature/syncinfo", "feature/syncinstall", "feature/syncsearch", - "feature/syncsource", - "feature/localquery" + "feature/syncsource" proc execSudo*(args: seq[Argument]): int = execResult(sudoPrefix & getAppFilename() & @@ -81,6 +82,8 @@ proc handleSync(args: seq[Argument], config: Config): int = printError(config.color, trp("invalid option: '%s' and '%s' may not be used together\n") % ["--" & left, "--" & right]) 1 + elif syncArgs.check(%%%"clean"): + handleSyncClean(args, config) elif syncArgs.check(%%%"info") and syncArgs.checkOpGroup(OpGroup.syncQuery): handleSyncInfo(args, config) |