fixed logging and remove
This commit is contained in:
@@ -33,6 +33,7 @@ for (i = 0; i < length(args); i++) {
|
||||
log.console(" --prune Also remove packages no longer needed by any root")
|
||||
log.console(" --dry-run Show what would be removed")
|
||||
$stop()
|
||||
disrupt
|
||||
} else if (!starts_with(args[i], '-')) {
|
||||
target_pkg = args[i]
|
||||
}
|
||||
@@ -41,6 +42,7 @@ for (i = 0; i < length(args); i++) {
|
||||
if (!target_pkg) {
|
||||
log.console("Usage: cell remove <locator> [options]")
|
||||
$stop()
|
||||
disrupt
|
||||
}
|
||||
|
||||
// Resolve relative paths to absolute paths
|
||||
|
||||
Reference in New Issue
Block a user