summaryrefslogtreecommitdiff
path: root/src/cmds
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2025-06-04 20:20:33 +0000
committermidipix <writeonce@midipix.org>2025-06-04 20:20:33 +0000
commit8ba1bcf4c2b0e6429abec027bc36c349e990c4cc (patch)
tree2f882c3a42106e67ab162b056c461cc069960daf /src/cmds
parent3f57204aeaf426a4bfd1eb464f1f46c57ef5d1c3 (diff)
downloadperk-8ba1bcf4c2b0e6429abec027bc36c349e990c4cc.tar.bz2
perk-8ba1bcf4c2b0e6429abec027bc36c349e990c4cc.tar.xz
api: PERK_DRIVER_AR_PRINT_ARCHIVE -> PERK_DRIVER_AR_PRINT_MEMBERS (consistency).
Diffstat (limited to 'src/cmds')
-rw-r--r--src/cmds/pe_cmd_ar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmds/pe_cmd_ar.c b/src/cmds/pe_cmd_ar.c
index c27388a..97e94c7 100644
--- a/src/cmds/pe_cmd_ar.c
+++ b/src/cmds/pe_cmd_ar.c
@@ -23,7 +23,7 @@ static int pe_cmd_ar_perform_unit_actions(
if (action == PERK_DRIVER_AR_LIST_MEMBERS) {
pe_ar_fn = pe_ar_list_members;
- } else if (action == PERK_DRIVER_AR_PRINT_ARCHIVE) {
+ } else if (action == PERK_DRIVER_AR_PRINT_MEMBERS) {
pe_ar_fn = pe_ar_print_members;
} else {
@@ -74,7 +74,7 @@ static int pe_cmd_ar_verify_cmdline(
case PERK_DRIVER_AR_DELETE_MEMBERS:
case PERK_DRIVER_AR_APPEND_MEMBERS:
case PERK_DRIVER_AR_EXTRACT_MEMBERS:
- case PERK_DRIVER_AR_PRINT_ARCHIVE:
+ case PERK_DRIVER_AR_PRINT_MEMBERS:
if (poscmd || posname)
return PERK_CUSTOM_ERROR(dctx,
PERK_ERR_AR_INVALID_ANCHORS);