From 663098e8be251c89181cc56503d7fb7ab2e8c1c5 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 3 Jun 2025 10:11:24 +0000 Subject: pe_cmd_ar(): added command-line semantic verification. --- src/internal/perk_ar_impl.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/internal') diff --git a/src/internal/perk_ar_impl.h b/src/internal/perk_ar_impl.h index aa44396..b7c2fbc 100644 --- a/src/internal/perk_ar_impl.h +++ b/src/internal/perk_ar_impl.h @@ -24,6 +24,18 @@ #define AR_POSNAME_MASK (PERK_DRIVER_AR_POSITION_AFTER \ |PERK_DRIVER_AR_POSITION_BEFORE) +#define AR_UPDATE_MASK (PERK_DRIVER_AR_UPDATE_MEMBERS \ + |PERK_DRIVER_AR_REPLACE_MEMBERS) + +#define AR_ACTION_MASK (PERK_DRIVER_AR_LIST_MEMBERS \ + |PERK_DRIVER_AR_MOVE_MEMBERS \ + |PERK_DRIVER_AR_UPDATE_MEMBERS \ + |PERK_DRIVER_AR_DELETE_MEMBERS \ + |PERK_DRIVER_AR_APPEND_MEMBERS \ + |PERK_DRIVER_AR_REPLACE_MEMBERS \ + |PERK_DRIVER_AR_EXTRACT_MEMBERS \ + |PERK_DRIVER_AR_PRINT_ARCHIVE) + extern const struct argv_option pe_ar_options[]; struct ar_armaps_impl { -- cgit v1.2.3