Skip to content

Commit 5b39a38

Browse files
committed
Format
1 parent 411732e commit 5b39a38

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

include/source.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
* | Heng Guo <[email protected]>
66
* Contributors : Shengwei Chen <[email protected]>
77
* |
8-
* Created on : <2023-08-29>
9-
* Last modified : <2024-09-14>
8+
* Created On : <2023-08-29>
9+
* Last Modified : <2024-09-14>
1010
*
1111
* 镜像站与换源信息
1212
* ------------------------------------------------------------*/
@@ -21,9 +21,9 @@ typedef struct MirrorSite_t {
2121

2222
// #define Big_File_ubuntu "/indices/md5sums.gz" 这个是错的
2323
#define Big_File_ctan "/systems/texlive/Images/texlive.iso" // 4.8GB
24-
#define Big_File_debian "/ls-lR.gz" // 13.9 MB
24+
#define Big_File_debian "/ls-lR.gz" // 13.9MB
2525
#define Big_File_archlinux "/iso/latest/archlinux-x86_64.iso" // 800MB 左右
26-
#define Big_File_deepin "/20.9/deepin-desktop-community-20.9-amd64.iso" // 4GB左右
26+
#define Big_File_deepin "/20.9/deepin-desktop-community-20.9-amd64.iso" // 4GB 左右
2727

2828

2929
/**

src/chsrc-main.c

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ main (int argc, char const *argv[])
620620
{
621621
CliOpt_DryRun = true;
622622
}
623-
else if (xy_streql (argv[i], "-para")
623+
else if ( xy_streql (argv[i], "-para")
624624
|| xy_streql (argv[i], "-parallel")
625625
|| xy_streql (argv[i], "-paralel"))
626626
{
@@ -631,13 +631,13 @@ main (int argc, char const *argv[])
631631
CliOpt_NoColor = true;
632632
xy_enable_color = false;
633633
}
634-
else if (xy_streql (argv[i], "-h")
634+
else if ( xy_streql (argv[i], "-h")
635635
|| xy_streql (argv[i], "-help")
636636
|| xy_streql (argv[i], "--help"))
637637
{
638638
command = "help"; /* 交到下方处理 */
639639
}
640-
else if (xy_streql (argv[i], "-v")
640+
else if ( xy_streql (argv[i], "-v")
641641
|| xy_streql (command, "-version")
642642
|| xy_streql (command, "--version"))
643643
{
@@ -666,7 +666,7 @@ main (int argc, char const *argv[])
666666
}
667667

668668
/* chsrc help */
669-
if (xy_streql (command, "h")
669+
if ( xy_streql (command, "h")
670670
|| xy_streql (command, "-h")
671671
|| xy_streql (command, "help")
672672
|| xy_streql (command, "-help")
@@ -677,7 +677,7 @@ main (int argc, char const *argv[])
677677
}
678678

679679
/* chsrc -v */
680-
else if (xy_streql (command, "-v")
680+
else if ( xy_streql (command, "-v")
681681
|| xy_streql (command, "-version")
682682
|| xy_streql (command, "--version")
683683
|| xy_streql (command, "ver")
@@ -688,7 +688,7 @@ main (int argc, char const *argv[])
688688
}
689689

690690
/* chsrc list */
691-
else if (xy_streql (command, "list")
691+
else if ( xy_streql (command, "list")
692692
|| xy_streql (command, "l")
693693
|| xy_streql (command, "ls"))
694694
{
@@ -732,7 +732,7 @@ main (int argc, char const *argv[])
732732
#define MSG_CN_USE_LIST_TARGETS "使用 chsrc list targets 查看所有支持的目标"
733733

734734
/* chsrc measure */
735-
else if (xy_streql (command, "measure")
735+
else if ( xy_streql (command, "measure")
736736
|| xy_streql (command, "mea")
737737
|| xy_streql (command, "m")
738738
|| xy_streql (command, "cesu")
@@ -755,7 +755,7 @@ main (int argc, char const *argv[])
755755

756756

757757
/* chsrc get */
758-
else if (xy_streql (command, "get")
758+
else if ( xy_streql (command, "get")
759759
|| xy_streql (command, "g"))
760760
{
761761
if (argc < cli_arg_Target_pos)
@@ -772,7 +772,7 @@ main (int argc, char const *argv[])
772772
}
773773

774774
/* chsrc set */
775-
else if (xy_streql (command, "set")
775+
else if ( xy_streql (command, "set")
776776
|| xy_streql (command, "s"))
777777
{
778778
if (argc < cli_arg_Target_pos)
@@ -796,7 +796,7 @@ main (int argc, char const *argv[])
796796
}
797797

798798
/* chsrc reset */
799-
else if (xy_streql (command, "reset")
799+
else if ( xy_streql (command, "reset")
800800
|| xy_streql (command, "rest")
801801
|| xy_streql (command, "r"))
802802
{
@@ -816,7 +816,7 @@ main (int argc, char const *argv[])
816816
}
817817

818818
/* chsrc issue */
819-
else if (xy_streql (command, "issue")
819+
else if ( xy_streql (command, "issue")
820820
|| xy_streql (command, "issues")
821821
|| xy_streql (command, "isue")
822822
|| xy_streql (command, "i"))

0 commit comments

Comments
 (0)