From ae3654cdf9d42ff35533039c88976dd3291867dd Mon Sep 17 00:00:00 2001 From: Guillaume Genestier Date: Mon, 31 Mar 2025 17:32:18 +0200 Subject: [PATCH 1/3] DAL: Add CLI alias -E for --endpoint --- src/bin_dal_node/cli.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin_dal_node/cli.ml b/src/bin_dal_node/cli.ml index 6dedc75ce162..19f7e77aac1f 100644 --- a/src/bin_dal_node/cli.ml +++ b/src/bin_dal_node/cli.ml @@ -138,7 +138,7 @@ module Term = struct Arg.( value & opt (some endpoint_arg) None - & info ~docs ~doc ~docv:"URI" ["endpoint"]) + & info ~docs ~doc ~docv:"URI" ["endpoint"; "E"]) let attester_profile_printer = Signature.Public_key_hash.pp -- GitLab From 4c6c7b7a883abf56973d7d31f22bd734afbf3480 Mon Sep 17 00:00:00 2001 From: Guillaume Genestier Date: Mon, 31 Mar 2025 17:33:07 +0200 Subject: [PATCH 2/3] DAL: Add CLI alias --operator-profiles for --operator --- src/bin_dal_node/cli.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin_dal_node/cli.ml b/src/bin_dal_node/cli.ml index 19f7e77aac1f..7a81d5c5574a 100644 --- a/src/bin_dal_node/cli.ml +++ b/src/bin_dal_node/cli.ml @@ -215,7 +215,7 @@ module Term = struct ~docs ~doc ~docv:"INDEX1,INDEX2,..." - ["producer-profiles"; "producer"; "operator"]) + ["producer-profiles"; "producer"; "operator-profiles"; "operator"]) let observer_profile = let open Cmdliner in -- GitLab From 927907ea7546f026d5d3f791d059817d7b0f8d59 Mon Sep 17 00:00:00 2001 From: Guillaume Genestier Date: Wed, 2 Apr 2025 11:01:56 +0200 Subject: [PATCH 3/3] DAL/Changelog: Document new CLI aliases --- CHANGES.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 565b80d20a1c..722b957a85e2 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -341,7 +341,7 @@ DAL node - **Change** The DAL node store version has been upgraded from 1 to 2. The DAL node store will automatically upgrade without requiring any user action. For users running the DAL node with the - ``--operator-profile`` flag enabled, the node now uses SQLite + ``--operator-profiles`` flag enabled, the node now uses SQLite specifically for managing skip list cells (MR :gl:`!15780`), preventing inode exhaustion. All other stores remain unchanged. @@ -360,6 +360,10 @@ DAL node - Added a new RPC ``GET /published_levels//known_traps`` that returns the trap shards that the DAL node knows. (MR :gl:`!16870`) +- Aliases have been added to the command line. ``--operator-profiles`` is now + equivalent to ``--operator`` and ``-E`` is equivalent to ``--endpoint``. + (MR :gl:`!17496`) + Protocol ~~~~~~~~ -- GitLab