Mail archive
alpine-devel

Re: [alpine-devel] [PATCH] - LBU showing more options on usage()

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Thu, 8 May 2014 15:35:41 +0200

On Wed, 30 Apr 2014 14:45:56 -0300
Alan Messias <alancordeiro_at_gmail.com> wrote:

> Let our users know the options availiable and let us add a shortcut for
> migrate_include_exclude:
>
> What do you think about this?
>
> --- a/lbu
> +++ b/lbu
> _at_@ -44,6 +44,8 @@
> package (pkg)
> status (stat, st)
> list-backup (lb)
> + migrate_include_exclude (mie)
> + diff
> revert
>
> Common options:
> _at_@ -732,9 +734,9 @@
> package|pkg) SUBCMD="package";;
> status|stat|st) SUBCMD="status";;
> list-backup|lb) SUBCMD="listbackup";;
> + migrate_include_exclude|mie) SUBCMD="migrate_include_exclude";;
> revert) SUBCMD="revert";;
> diff) SUBCMD="diff";;
> - migrate_include_exclude) SUBCMD="migrate_include_exclude";;
> *) usage;;
> esac
>

This command should not be used often. Its only for migrating from old
format to new and should only e called from apk trigger.

I don't think we should create a short version of it, and i dont know
if we need show it in help text either.

-nc


---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Thu May 08 2014 - 15:35:41 UTC