From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#27820: guix package -u: order of argument is significant Date: Wed, 26 Jul 2017 11:03:29 +0200 Message-ID: <8760ef7eou.fsf@elephly.net> References: <5977294D.1020304@crazy-compilers.com> <87fudkb8zm.fsf@netris.org> <59785291.80904@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daIEf-0001zp-Hv for bug-guix@gnu.org; Wed, 26 Jul 2017 05:04:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1daIEc-0006eh-E2 for bug-guix@gnu.org; Wed, 26 Jul 2017 05:04:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:54068) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1daIEc-0006ec-AV for bug-guix@gnu.org; Wed, 26 Jul 2017 05:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1daIEc-0007Um-2l for bug-guix@gnu.org; Wed, 26 Jul 2017 05:04:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <59785291.80904@crazy-compilers.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Hartmut Goebel Cc: 27820@debbugs.gnu.org Hartmut Goebel writes: > Am 25.07.2017 um 21:40 schrieb Mark H Weaver: >> That's because "--fallback" was treated as the argument to -u, i.e. the >> regexp specifying which packages to upgrade. The few compiled packages >> were needed to run the profile hooks. > > I'm astound about this. Python's argparse library is handling this as > the user expects: […] > Isn't there a elaborated scheme/guile argparse library we can you? This > would/shouls/could also solve the issue that in guix we can not shortcut > options. This is not a technical problem. It behaves as intended; the question is just whether the intention really makes sense. What do you mean by “shortcut options”? -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net