@@ -222,7 +222,7 @@ subroutine get_command_line_settings(cmd_settings)
222
222
type (fpm_install_settings), allocatable :: install_settings
223
223
type (version_t) :: version
224
224
character (len= :), allocatable :: common_args, compiler_args, run_args, working_dir, &
225
- & c_compiler, cxx_compiler, archiver, version_s, token_s, global_config
225
+ & c_compiler, cxx_compiler, archiver, version_s, token_s, config_file
226
226
227
227
character (len=* ), parameter :: fc_env = " FC" , cc_env = " CC" , ar_env = " AR" , &
228
228
& fflags_env = " FFLAGS" , cflags_env = " CFLAGS" , cxxflags_env = " CXXFLAGS" , ldflags_env = " LDFLAGS" , &
@@ -291,7 +291,7 @@ subroutine get_command_line_settings(cmd_settings)
291
291
call set_args(common_args // compiler_args // run_args // ' &
292
292
& --all F &
293
293
& --example F &
294
- & --global- config " " &
294
+ & --config-file " " &
295
295
& --' ,help_run,version_text)
296
296
297
297
call check_build_vals()
@@ -321,7 +321,7 @@ subroutine get_command_line_settings(cmd_settings)
321
321
c_compiler = sget(' c-compiler' )
322
322
cxx_compiler = sget(' cxx-compiler' )
323
323
archiver = sget(' archiver' )
324
- global_config = sget(' global- config' )
324
+ config_file = sget(' config-file ' )
325
325
allocate (fpm_run_settings :: cmd_settings)
326
326
val_runner= sget(' runner' )
327
327
if (specified(' runner' ) .and. val_runner==' ' )val_runner= ' echo'
@@ -333,7 +333,7 @@ subroutine get_command_line_settings(cmd_settings)
333
333
& c_compiler= c_compiler, &
334
334
& cxx_compiler= cxx_compiler, &
335
335
& archiver= archiver, &
336
- & path_to_config= global_config , &
336
+ & path_to_config= config_file , &
337
337
& flag= val_flag, &
338
338
& cflag= val_cflag, &
339
339
& cxxflag= val_cxxflag, &
@@ -350,15 +350,15 @@ subroutine get_command_line_settings(cmd_settings)
350
350
& --list F &
351
351
& --show-model F &
352
352
& --tests F &
353
- & --global- config " " &
353
+ & --config-file " " &
354
354
& --' ,help_build,version_text)
355
355
356
356
call check_build_vals()
357
357
358
358
c_compiler = sget(' c-compiler' )
359
359
cxx_compiler = sget(' cxx-compiler' )
360
360
archiver = sget(' archiver' )
361
- global_config = sget(' global- config' )
361
+ config_file = sget(' config-file ' )
362
362
363
363
allocate ( fpm_build_settings :: cmd_settings )
364
364
cmd_settings= fpm_build_settings( &
@@ -368,7 +368,7 @@ subroutine get_command_line_settings(cmd_settings)
368
368
& c_compiler= c_compiler, &
369
369
& cxx_compiler= cxx_compiler, &
370
370
& archiver= archiver, &
371
- & path_to_config= global_config , &
371
+ & path_to_config= config_file , &
372
372
& flag= val_flag, &
373
373
& cflag= val_cflag, &
374
374
& cxxflag= val_cxxflag, &
@@ -513,15 +513,15 @@ subroutine get_command_line_settings(cmd_settings)
513
513
& --libdir "lib" &
514
514
& --bindir "bin" &
515
515
& --includedir "include" &
516
- & --global- config " " &
516
+ & --config-file " " &
517
517
&' , help_install, version_text)
518
518
519
519
call check_build_vals()
520
520
521
521
c_compiler = sget(' c-compiler' )
522
522
cxx_compiler = sget(' cxx-compiler' )
523
523
archiver = sget(' archiver' )
524
- global_config = sget(' global- config' )
524
+ config_file = sget(' config-file ' )
525
525
allocate (install_settings, source= fpm_install_settings(&
526
526
list= lget(' list' ), &
527
527
profile= val_profile,&
@@ -530,7 +530,7 @@ subroutine get_command_line_settings(cmd_settings)
530
530
c_compiler= c_compiler, &
531
531
cxx_compiler= cxx_compiler, &
532
532
archiver= archiver, &
533
- path_to_config= global_config , &
533
+ path_to_config= config_file , &
534
534
flag= val_flag, &
535
535
cflag= val_cflag, &
536
536
cxxflag= val_cxxflag, &
@@ -556,7 +556,7 @@ subroutine get_command_line_settings(cmd_settings)
556
556
557
557
case (' test' )
558
558
call set_args(common_args // compiler_args // run_args // ' &
559
- & --global- config " " &
559
+ & --config-file " " &
560
560
& -- ' , help_test,version_text)
561
561
562
562
call check_build_vals()
@@ -581,7 +581,7 @@ subroutine get_command_line_settings(cmd_settings)
581
581
c_compiler = sget(' c-compiler' )
582
582
cxx_compiler = sget(' cxx-compiler' )
583
583
archiver = sget(' archiver' )
584
- global_config = sget(' global- config' )
584
+ config_file = sget(' config-file ' )
585
585
586
586
allocate (fpm_test_settings :: cmd_settings)
587
587
val_runner= sget(' runner' )
@@ -594,7 +594,7 @@ subroutine get_command_line_settings(cmd_settings)
594
594
& c_compiler= c_compiler, &
595
595
& cxx_compiler= cxx_compiler, &
596
596
& archiver= archiver, &
597
- & path_to_config= global_config , &
597
+ & path_to_config= config_file , &
598
598
& flag= val_flag, &
599
599
& cflag= val_cflag, &
600
600
& cxxflag= val_cxxflag, &
@@ -610,7 +610,7 @@ subroutine get_command_line_settings(cmd_settings)
610
610
call set_args(common_args // ' &
611
611
& --fetch-only F &
612
612
& --clean F &
613
- & --global- config " " &
613
+ & --config-file " " &
614
614
&' , help_update, version_text)
615
615
616
616
if ( size (unnamed) > 1 )then
@@ -619,23 +619,23 @@ subroutine get_command_line_settings(cmd_settings)
619
619
names= [character (len= len (names)) :: ]
620
620
endif
621
621
622
- global_config = sget(' global- config' )
622
+ config_file = sget(' config-file ' )
623
623
624
624
allocate (fpm_update_settings :: cmd_settings)
625
625
cmd_settings= fpm_update_settings(name= names, &
626
626
& fetch_only= lget(' fetch-only' ), &
627
627
& verbose= lget(' verbose' ), &
628
- & path_to_config= global_config , &
628
+ & path_to_config= config_file , &
629
629
& clean= lget(' clean' ))
630
630
631
631
case (' clean' )
632
632
call set_args(common_args // ' &
633
633
& --skip &
634
634
& --all &
635
- & --global- config " " &
635
+ & --config-file " " &
636
636
&' , help_clean, version_text)
637
637
638
- global_config = sget(' global- config' )
638
+ config_file = sget(' config-file ' )
639
639
640
640
allocate (fpm_clean_settings :: cmd_settings)
641
641
call get_current_directory(working_dir, error)
@@ -644,7 +644,7 @@ subroutine get_command_line_settings(cmd_settings)
644
644
& calling_dir= working_dir, &
645
645
& clean_skip= lget(' skip' ), &
646
646
& clean_call= lget(' all' ), &
647
- & path_to_config= global_config &
647
+ & path_to_config= config_file &
648
648
&)
649
649
650
650
case (' publish' )
@@ -656,15 +656,15 @@ subroutine get_command_line_settings(cmd_settings)
656
656
& --list F &
657
657
& --show-model F &
658
658
& --tests F &
659
- & --global- config " " &
659
+ & --config-file " " &
660
660
& --' , help_publish, version_text)
661
661
662
662
call check_build_vals()
663
663
664
664
c_compiler = sget(' c-compiler' )
665
665
cxx_compiler = sget(' cxx-compiler' )
666
666
archiver = sget(' archiver' )
667
- global_config = sget(' global- config' )
667
+ config_file = sget(' config-file ' )
668
668
token_s = sget(' token' )
669
669
670
670
allocate (fpm_publish_settings :: cmd_settings)
@@ -685,7 +685,7 @@ subroutine get_command_line_settings(cmd_settings)
685
685
& list= lget(' list' ),&
686
686
& show_model= lget(' show-model' ),&
687
687
& build_tests= lget(' tests' ),&
688
- & path_to_config= global_config , &
688
+ & path_to_config= config_file , &
689
689
& verbose= lget(' verbose' ),&
690
690
& token= token_s)
691
691
@@ -1324,7 +1324,7 @@ subroutine set_help()
1324
1324
' ' , &
1325
1325
' SYNOPSIS' , &
1326
1326
' fpm update [--fetch-only] [--clean] [--verbose] [NAME(s)] ' , &
1327
- ' [--global- config PATH] ' , &
1327
+ ' [--config-file PATH] ' , &
1328
1328
' ' , &
1329
1329
' DESCRIPTION' , &
1330
1330
' Manage and update project dependencies. If no dependency names are' , &
@@ -1346,7 +1346,7 @@ subroutine set_help()
1346
1346
' SYNOPSIS' , &
1347
1347
' fpm install [--profile PROF] [--flag FFLAGS] [--list] [--no-rebuild]' , &
1348
1348
' [--prefix DIR] [--bindir DIR] [--libdir DIR] [--includedir DIR]' , &
1349
- ' [--verbose] [--global- config PATH]' , &
1349
+ ' [--verbose] [--config-file PATH]' , &
1350
1350
' ' , &
1351
1351
' DESCRIPTION' , &
1352
1352
' Subcommand to install fpm projects. Running install will export the' , &
@@ -1409,7 +1409,7 @@ subroutine set_help()
1409
1409
' ' , &
1410
1410
' SYNOPSIS' , &
1411
1411
' fpm publish [--token TOKEN] [--show-package-version] [--show-upload-data]' , &
1412
- ' [--dry-run] [--verbose] [--global- config PATH]' , &
1412
+ ' [--dry-run] [--verbose] [--config-file PATH]' , &
1413
1413
' ' , &
1414
1414
' fpm publish --help|--version' , &
1415
1415
' ' , &
0 commit comments