diff --git a/CHANGES.rst b/CHANGES.rst index 565b80d20a1cbed5e04a0f1e79893a410122e7bf..722b957a85e2496af4a1399325b6eda22583fdd7 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 ~~~~~~~~ diff --git a/src/bin_dal_node/cli.ml b/src/bin_dal_node/cli.ml index 6dedc75ce162d74205df2ee2dbedc083b2abfa51..7a81d5c5574a5d3b4be5bb6457898862ac999a49 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 @@ -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