@@ -709,6 +709,8 @@ sub check_args {
709
709
die (' --rely_on_ssh_auth not compatible with --doc' ) if $Opts -> {rely_on_ssh_auth };
710
710
die (' --rebuild not compatible with --doc' ) if $Opts -> {rebuild };
711
711
die (' --no_fetch not compatible with --doc' ) if $Opts -> {no_fetch };
712
+ die (' --skiplinkcheck not compatible with --doc' ) if $Opts -> {skiplinkcheck };
713
+ die (' --linkcheckonly not compatible with --doc' ) if $Opts -> {linkcheckonly };
712
714
} else {
713
715
die (' --single not compatible with --all' ) if $Opts -> {single };
714
716
die (' --pdf not compatible with --all' ) if $Opts -> {pdf };
@@ -718,8 +720,6 @@ sub check_args {
718
720
die (' --lenient not compatible with --all' ) if $Opts -> {lenient };
719
721
# Lang will be 'en' even if it isn't specified so we don't check it.
720
722
die (' --resource not compatible with --all' ) if $Opts -> {resource };
721
- die (' --skiplinkcheck not compatible with --all' ) if $Opts -> {skiplinkcheck };
722
- die (' --linkcheckonly not compatible with --all' ) if $Opts -> {linkcheckonly };
723
723
die (' --asciidoctor not compatible with --all' ) if $Opts -> {asciidoctor };
724
724
}
725
725
}
@@ -744,8 +744,6 @@ sub usage {
744
744
--lenient Ignore linking errors
745
745
--lang Defaults to 'en'
746
746
--resource Path to image dir - may be repeated
747
- --skiplinkcheck Omit the step that checks for broken links
748
- --linkcheckonly Skips the documentation builds. Checks links only.
749
747
--asciidoctor Use asciidoctor instead of asciidoc.
750
748
751
749
WARNING: Anything in the `out` dir will be deleted!
@@ -759,6 +757,8 @@ sub usage {
759
757
--push Commit the updated docs and push to origin
760
758
--user Specify which GitHub user to use, if not your own
761
759
--reference Directory of `--mirror` clones to use as a local cache
760
+ --skiplinkcheck Omit the step that checks for broken links
761
+ --linkcheckonly Skips the documentation builds. Checks links only.
762
762
--rely_on_ssh_auth
763
763
noop
764
764
--rebuild Rebuild all branches of every book regardless of what has changed
0 commit comments