Ticket 17669

Summary: Documentation bug: Removed Option still referenced in squeue --help
Product: Slurm Reporter: Phlipp Grau <phgrau>
Component: DocumentationAssignee: Tim Wickberg <tim>
Status: RESOLVED FIXED QA Contact:
Severity: C - Contributions    
Priority: ---    
Version: 23.02.5   
Hardware: Linux   
OS: Linux   
Site: -Other- Slinky Site: ---
Alineos Sites: --- Atos/Eviden Sites: ---
Confidential Site: --- Coreweave sites: ---
Cray Sites: --- DS9 clusters: ---
Google sites: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- NoveTech Sites: ---
Nvidia HWinf-CS Sites: --- OCF Sites: ---
Recursion Pharma Sites: --- SFW Sites: ---
SNIC sites: --- Tzag Elita Sites: ---
Linux Distro: --- Machine Name:
CLE Version: Version Fixed: 23.02.6
Target Release: --- DevPrio: ---
Emory-Cloud Sites: ---

Description Phlipp Grau 2023-09-12 01:45:49 MDT
Hello,

the News file of the slurm 23.02.5 distribution lists the option "--array-unique" of squeue as removed. But there is still an entry in the src/squeue/opts.c file:

(~/slurm-23.02.5) ▶ grep array-unique *
NEWS
716: -- squeue - removed --array-unique option.
5650: -- Add --array-unique to squeue which will display one unique pending job

src/squeue/opts.c
2174:      --array-unique              display one unique pending job array\n\

It would be nice if the src/squeue/opts.c gets updated as well.

Regards,

Philipp
Comment 1 Tim Wickberg 2023-09-12 10:40:37 MDT
Thanks for pointing that out, it's fixed by the following commit.

commit b66103e6b70d520331b644ed19a6b76b7a6285be
Author:     Tim Wickberg <tim@schedmd.com>
AuthorDate: Tue Sep 12 10:38:59 2023 -0600

    squeue - Remove reference to defunct --array-unique option from --help.
    
    Bug 17669.