Nantes Université

Skip to content
Extraits de code Groupes Projets
Non vérifiée Valider 18945b31 rédigé par Apteryks's avatar Apteryks Validation de GitHub
Parcourir les fichiers

Add alias for max order (#77)


* cli/gcdmodel.cpp: Fix typos in comments.

* cli/gcdmodel.cpp (CGcdData::fixModelAndSubmodelOrder): Fix typos in comments.

* cli: Support "max" as an alias to the maximum value for the order switch.

* cli/cmdline.cpp (parseArg): Understand "all" for the order switch.
(showUsage): Document it.
* cli/gcdmodel.cpp (CGcdData::fixModelAndSubmodelOrder): Ensure the
root model order gets recomputed when "/o:max" was provided as argument.
* cli/model.h (UNDEFINED_ORDER): Redefine as the minimum int value.
(MAXIMUM_ORDER): New constant.
* doc/pict.md: Document it.
* test/arg/.tests: Add test.

Co-authored-by: default avatarMaxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
parent cc021b84
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Chargement en cours
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter