From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Swierczek Subject: Guix command line flag consistency Date: Fri, 14 Apr 2017 16:57:09 -0400 Message-ID: <0f4a960b-68dd-8f82-6bea-f6ce08d59e91@swierczek.io> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cz8HS-00066h-56 for guix-devel@gnu.org; Fri, 14 Apr 2017 16:57:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cz8HN-0006NT-AL for guix-devel@gnu.org; Fri, 14 Apr 2017 16:57:22 -0400 Received: from swierczek.io ([45.33.77.97]:42684) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cz8HN-0006LN-61 for guix-devel@gnu.org; Fri, 14 Apr 2017 16:57:17 -0400 Received: from [192.168.1.139] (c-73-233-204-83.hsd1.pa.comcast.net [73.233.204.83]) by swierczek.io (Postfix) with ESMTPSA id 71E2F1D378 for ; Fri, 14 Apr 2017 20:57:10 +0000 (UTC) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Hello. I started taking GuixSD for a spin and love it. Thanks for all of your work! I hope this question isn't too elementary. I see that the 'guix package' command line tool, and possibly all of the Guix command line tools, use the Scheme SRFI 37 convention for argument handling. It seems a little unintuitive to me as an outsider trying to learn Guix. I wrote 'guix package --search git' and got an error message. I'd much prefer if both the short and long command line arguments accepted their argument in any arrangement. --long-flag=foo --long-flag foo --long-flagfoo -short-flag=foo -short-flag foo -short-flagfoo Obviously this is a headache for the persons writing the command line parser. But I think it's more friendly to people new to the project. What do you think? -Mike