From c5c7073a522fc96ec5c0270de6d5e48154d5cd62 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 2 Jun 2025 20:50:53 +0000 Subject: driver: utility: invoke pe_cmd_ar() with appropriate & args. --- src/internal/perk_ar_impl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/internal/perk_ar_impl.h') diff --git a/src/internal/perk_ar_impl.h b/src/internal/perk_ar_impl.h index 543526d..aa44396 100644 --- a/src/internal/perk_ar_impl.h +++ b/src/internal/perk_ar_impl.h @@ -20,6 +20,10 @@ /* initial number of elements in the transient, on-stack vector */ # define AR_STACK_VECTOR_ELEMENTS (0x200) +/* bit mask to indicate that the first non-option argument is */ +#define AR_POSNAME_MASK (PERK_DRIVER_AR_POSITION_AFTER \ + |PERK_DRIVER_AR_POSITION_BEFORE) + extern const struct argv_option pe_ar_options[]; struct ar_armaps_impl { -- cgit v1.2.3