@@ -698,6 +698,37 @@ subroutine set_help()
698
698
' --verbose Display additional information when available ' , &
699
699
' --version Show version information and exit. ' , &
700
700
' ' , &
701
+ ' @file ' , &
702
+ ' You may replace the default options for the fpm(1) command from a ' , &
703
+ ' file if your first options begin with @file. Initial options will ' , &
704
+ ' then be read from the "response file" "file.rsp" in the current ' , &
705
+ ' directory. ' , &
706
+ ' ' , &
707
+ ' If "file" does not exist or cannot be read, then an error occurs and' , &
708
+ ' the program stops. Each line of the file is prefixed with "options"' , &
709
+ ' and interpreted as a separate argument. The file itself may not ' , &
710
+ ' contain @file arguments. That is, it is not processed recursively. ' , &
711
+ ' ' , &
712
+ ' For more information on response files see ' , &
713
+ ' ' , &
714
+ ' https://urbanjost.github.io/M_CLI2/set_args.3m_cli2.html ' , &
715
+ ' ' , &
716
+ ' The basic functionality described here will remain the same, but ' , &
717
+ ' other features described at the above reference may change. ' , &
718
+ ' ' , &
719
+ ' An example file: ' , &
720
+ ' ' , &
721
+ ' # my build options ' , &
722
+ ' options build ' , &
723
+ ' options --compiler gfortran ' , &
724
+ ' options --flag "-pg -static -pthread -Wunreachable-code -Wunused \' , &
725
+ ' -Wuninitialized -g -O -fbacktrace -fdump-core -fno-underscoring \' , &
726
+ ' -frecord-marker=4 -L/usr/X11R6/lib -L/usr/X11R6/lib64 -lX11" ' , &
727
+ ' ' , &
728
+ ' Note --flag would have to be on one line as response files do not ' , &
729
+ ' (currently) allow for continued lines or multiple specifications of ' , &
730
+ ' the same option. ' , &
731
+ ' ' , &
701
732
' EXAMPLES ' , &
702
733
' sample commands: ' , &
703
734
' ' , &
0 commit comments