From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Amirouche Boubekki Newsgroups: gmane.lisp.guile.user Subject: Re: Long command line arguments using SRFI 37 Date: Fri, 04 Jan 2019 21:04:11 +0100 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1546632161 2291 195.159.176.226 (4 Jan 2019 20:02:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 4 Jan 2019 20:02:41 +0000 (UTC) User-Agent: Roundcube Webmail/1.1.2 Cc: guile-user@gnu.org, guile-user To: Zelphir Kaltstahl Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Jan 04 21:02:36 2019 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from listsout.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfVfw-0000US-BO for guile-user@m.gmane.org; Fri, 04 Jan 2019 21:02:36 +0100 Original-Received: from localhost ([127.0.0.1]:38593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfVi3-0007q5-78 for guile-user@m.gmane.org; Fri, 04 Jan 2019 15:04:47 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfVhe-0007pz-Or for guile-user@gnu.org; Fri, 04 Jan 2019 15:04:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfVhd-0007UQ-Tu for guile-user@gnu.org; Fri, 04 Jan 2019 15:04:22 -0500 Original-Received: from relay11.mail.gandi.net ([217.70.178.231]:46067) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gfVhY-0007Pj-2j; Fri, 04 Jan 2019 15:04:16 -0500 Original-Received: from webmail.gandi.net (webmail9.sd4.0x35.net [10.200.201.9]) (Authenticated sender: amirouche@hypermove.net) by relay11.mail.gandi.net (Postfix) with ESMTPA id 06818100009; Fri, 4 Jan 2019 20:04:11 +0000 (UTC) In-Reply-To: X-Sender: amirouche@hypermove.net X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.178.231 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:15193 Archived-At: Le 2019-01-04 19:55, Zelphir Kaltstahl a écrit : > Hi Guile Users, > > I have a question regarding the usage of SRFI 37. Is it possible to > have > long arguments, which one can use as follows: > > guile main.scm --argument value > > This is what I am used to with other command line programs. It seems to > me, when I use SRFI 37, I can only get it to allow the following style > of command line arguments: > > guile main.scm --argument=value > guile main.scm --argument="some value" > This is really not a big issue :) > > I have the example code, where I am trying to use SRFI 37, on: > > https://gitlab.com/zelphir-kaltstahl-projects/guile-scheme-tutorials-and-examples/blob/dev/command-line-arguments/using-srfi-37.scm > Tx for sharing this piece of code I was wondering how to use srfi 37