Bug 31093 - Add help to search_for_data_inconsistencies.pl
Summary: Add help to search_for_data_inconsistencies.pl
Status: RESOLVED DUPLICATE of bug 36027
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-02 21:52 UTC by Katrin Fischer
Modified: 2024-12-23 12:20 UTC (History)
2 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2022-07-02 21:52:25 UTC
When running ./misc/maintenance/search_for_data_inconsistencies.pl without parameters or with -h, the script starts, instead of giving any information about its usage.
Comment 1 Magnus Enger 2024-12-23 09:24:31 UTC
Should we add a parameter like "--run" to make the script do it's actual job? So that if it is run without parameters or with "-h" it just prints the help/usage from the POD and then exits?
Comment 2 Katrin Fischer 2024-12-23 09:36:59 UTC
(In reply to Magnus Enger from comment #1)
> Should we add a parameter like "--run" to make the script do it's actual
> job? So that if it is run without parameters or with "-h" it just prints the
> help/usage from the POD and then exits?

I feel like we have another pending bug changing a lot of these params. But if we do, -c | --confirm would be preferred (for more consistency)
Comment 3 Magnus Enger 2024-12-23 12:20:32 UTC
Yeah, looks like this is being solved by bug 36027.

*** This bug has been marked as a duplicate of bug 36027 ***