From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AIo0MnFZxWPRzQAAbAwnHQ (envelope-from ) for ; Mon, 16 Jan 2023 15:04:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yOcYMnFZxWPUqwAA9RJhRA (envelope-from ) for ; Mon, 16 Jan 2023 15:04:33 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A4A8E10E66 for ; Mon, 16 Jan 2023 15:04:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHQ5k-0007HW-Pi; Mon, 16 Jan 2023 09:04:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHQ5i-0007EC-Rx for guix-patches@gnu.org; Mon, 16 Jan 2023 09:04:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHQ5i-0000nu-Hs for guix-patches@gnu.org; Mon, 16 Jan 2023 09:04:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pHQ5i-0005cf-Bt for guix-patches@gnu.org; Mon, 16 Jan 2023 09:04:02 -0500 Subject: bug#59754: [PATCH] scripts: repl: Add --interactive and --list-types flags. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Mon, 16 Jan 2023 14:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 59754 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Antero Mejr Cc: zimoun , 59754-done@debbugs.gnu.org Mail-Followup-To: 59754@debbugs.gnu.org, maxim.cournoyer@gmail.com, antero@mailbox.org Received: via spool by 59754-done@debbugs.gnu.org id=D59754.167387783221587 (code D ref 59754); Mon, 16 Jan 2023 14:04:02 +0000 Received: (at 59754-done) by debbugs.gnu.org; 16 Jan 2023 14:03:52 +0000 Received: from localhost ([127.0.0.1]:60931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHQ5X-0005c7-NU for submit@debbugs.gnu.org; Mon, 16 Jan 2023 09:03:51 -0500 Received: from mail-ot1-f54.google.com ([209.85.210.54]:34653) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHQ5V-0005br-G3 for 59754-done@debbugs.gnu.org; Mon, 16 Jan 2023 09:03:49 -0500 Received: by mail-ot1-f54.google.com with SMTP id k7-20020a056830168700b0067832816190so16160371otr.1 for <59754-done@debbugs.gnu.org>; Mon, 16 Jan 2023 06:03:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=/yrL1QcPt0KWb+mYsf/yXmK5GHQwfUPymDT9v9h65Kc=; b=ef1X23wbzJ0o79PJA6HZS+7V4pGE4JZMKE2QjzObUkm8XYYu4hXVcnTf6BrSHyyJm5 S9/yiS9RAkPdXpkdxf9yVHSb1Q00qxyQTM0hKff0HTuXsr0ZRxQ/P4eM/tqbHM8lrOYg CoYHlEcKtPug0z8BlJal4VXwEvhh+KRxrxg7BsmgruDy+8ZiuTJg93Rbyj9MWtjbezBV iFaYPBT+oyUVR8J5axGTWxwIYmxdOO7Rz5pmJbXo0Y3xc+5m7Vg0zkeWfOKjbvPXnYuA tTsAtlhld41RiKnsXKz3haWKDrjzs66ulqOvrhij66UN2G610rXAlqoTgsVcdT8/SD4Y sNKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/yrL1QcPt0KWb+mYsf/yXmK5GHQwfUPymDT9v9h65Kc=; b=TWLkoAUp/3MFoDR4FrF554xXdTwCmBBQ0TNG5H5szMti1iHkcYwFEhyp1fPLCb9ZIG 3xsfAHIDUt0CnlScZcc6UzuN1p31u6PL7mGMnXJwOZhKPohHtVYbTpjRWfEi2yCrLfY1 gJ9s+lre/W/h3lOtgITwfh4//Wv2Btpzz3LFy3blWHnFIq4pzX537l9/tqvsTu+ICag5 f0UgW8n8rVlLmOOz7ZGkwO3HKoWSOgSwl6ym5mrNo3OgsGyyw7zsduLBwI2GeMe8CLpz q15HR+HOnAUV+RUd+8ShQnvtznQPTeRxuR88UxYgY0Be1Y6nVJFQs+hOVC9YT/AMRFMU MLbQ== X-Gm-Message-State: AFqh2kqt1EGr5fNU5q2pEpSB45RllzOAEk+BOorcar+qSFMhOlJKM/pL zbFvAvLSIfcP/pw7//uZcGs= X-Google-Smtp-Source: AMrXdXt50IZ/u66qFT9c3fWcPpquMfVwOOcciyrnpduqnGEKKJdX1N8TUUG3Qi3LCQeB4ELxlwPbdw== X-Received: by 2002:a05:6830:208d:b0:671:8a71:788b with SMTP id y13-20020a056830208d00b006718a71788bmr40052560otq.34.1673877823745; Mon, 16 Jan 2023 06:03:43 -0800 (PST) Received: from hurd (dsl-10-130-209.b2b2c.ca. [72.10.130.209]) by smtp.gmail.com with ESMTPSA id bv15-20020a05622a0a0f00b003a7e8ab2972sm14592382qtb.23.2023.01.16.06.03.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 06:03:43 -0800 (PST) From: Maxim Cournoyer References: <20221203010937.2332-1-antero@mailbox.org> <20221203010937.2332-2-antero@mailbox.org> Date: Mon, 16 Jan 2023 09:03:42 -0500 In-Reply-To: <20221203010937.2332-2-antero@mailbox.org> (Antero Mejr's message of "Sat, 3 Dec 2022 01:09:37 +0000") Message-ID: <87cz7ebmpt.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673877873; a=rsa-sha256; cv=none; b=b41XKXXCEvzL3jYzIBiRcs6FHHkQrulQj/d+Rg3wIiY/RAhMPIOxRr7J626rRxuNJxBgfk dWoFxMUaDk+ip6yILTInbJcSjXnAyZ9O+JATfgEDWdEF2nK3fl+n/pANZi1CxYhLREuW8x dBO7Th7mXB+DTmFkIKyTowp2hmIqmzRE6LbERmxhAmLtVXeBLh2crS2Fs+juq3vpSH+9Qs ogJh/5VTXuK7H/f72CICb39Ohx7AsrIw0FDo16SnjDJdravFizOzqljc7lbtmaiodORqUZ VBHmIx9WJxKu3UUahp8zlb3zvGGVnRdKfcRgMzk7LvdUtww+vVDMYJX5cMbENA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ef1X23wb; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673877873; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=/yrL1QcPt0KWb+mYsf/yXmK5GHQwfUPymDT9v9h65Kc=; b=ugNmctzBHX/ZuYebBK3Y6ZFQ6vS8g11/2s4bicQd3Bfn4yJZSesN0wy6nnF+tHMoIQImOP 4fNBmpW8insBpkRsSXhIK/FqpuQ4fAsciuuAo6bFNHBNCJBs2rYplOMu2a6fUO0dFHNlLo quEFJJZvoYTXet9ZjTT7/6yf4dp2gNEy1ZpfTfPL2NBjsq62NGNYmRrHHymwW5y+9+0Qkz LFdqRSu9hqV5zr0xBtlu6fToL+gsaC3uCY+OZqQv/pUwzu5r72hfYazi7LU9PC2UKf94LA bdjgMA37eM41Kwxu8+eY59a+Ko/a967yekPAhlZDELQKp9E9W6yIC5jt5YAm2w== X-Migadu-Spam-Score: -2.02 X-Spam-Score: -2.02 X-Migadu-Queue-Id: A4A8E10E66 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ef1X23wb; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) X-TUID: Z9YuO3oF096j Hello, Antero Mejr writes: > * guix/scripts/repl.scm (%options): Add -i, --interactive flag. > (guix-repl): Honor -i, --interactive flag. > * doc/guix.texi (Invoking guix repl): Add documentation for -i, --interactive. I've added your copyright to the guix.texi file and made a small adjustment, as shown below: --8<---------------cut here---------------start------------->8--- modified doc/guix.texi @@ -111,6 +111,7 @@ Copyright @copyright{} 2022 (@* Copyright @copyright{} 2022 John Kehayias@* Copyright @copyright{} 2022 Ivan Vilata-i-Balaguer@* Copyright @copyright{} 2023 Giacomo Leidi@* +Copyright @copyright{} 2022 Antero Mejr@* Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or @@ -12070,7 +12071,7 @@ Accept connections on the Unix-domain socket @file{/tmp/socket}. @item --interactive @itemx -i -Launch the interactive REPL after @var{FILE} is executed. +Launch the interactive REPL after @var{file} is executed. @item --load-path=@var{directory} @itemx -L @var{directory} --8<---------------cut here---------------end--------------->8--- And pushed! Thanks for the contribution and to Simon for the review! -- Thanks, Maxim