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

From: Alan Messias <[email-masked]>
Date: Wed, 30 Apr 2014 14:45:56 -0300

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
@@ -44,6 +44,8 @@
   package (pkg)
   status (stat, st)
   list-backup (lb)
+  migrate_include_exclude (mie)
+  diff
   revert

 Common options:
@@ -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

-- 
alacerda

*The nice thing about standards is that there are so many to choose from.
And if you really don't like all the standards you just have to wait
another year until the one arises you are looking for. -- A. Tanenbaum,
"Introduction to Computer Networks"*

---

From: Natanael Copa <[email-masked]>
Date: Thu, 8 May 2014 15:35:41 +0200

On Wed, 30 Apr 2014 14:45:56 -0300

> What do you think about this?

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:  [email-masked]
Help:         [email-masked]
---

---

From: Alan Messias <[email-masked]>
Date: Thu, 8 May 2014 10:43:28 -0300

Hi Copa,

IMHO I dont think it should be a secret. There is no why.
Even if it is only for migration It would be nice if everybody knows about
this stuff.
It is a tool... it is there and I think the users should be aware of it.

:wq!
alacerda

---

From: Natanael Copa <[email-masked]>
Date: Thu, 8 May 2014 15:55:44 +0200

On Thu, 8 May 2014 10:43:28 -0300

> It is a tool... it is there and I think the users should be aware of it.

I cannot argue against that :) Good point.

But I'll drop the 'mie' short-command.

Thanks!

-nc

---