@@ -25,7 +25,7 @@ const Args = struct {
2525 timeout : usize = 60 ,
2626 @"no-dep" : bool = false ,
2727 @"debug-hash" : bool = false ,
28- @"no -check" : bool = false ,
28+ @"skip -check" : bool = false ,
2929
3030 pub const __shorts__ = .{
3131 .version = .V ,
@@ -34,7 +34,7 @@ const Args = struct {
3434 .help = .h ,
3535 .@"no-dep" = .n ,
3636 .@"debug-hash" = .d ,
37- .@"no -check" = .c ,
37+ .@"skip -check" = .s ,
3838 };
3939 pub const __messages__ = .{
4040 .help = "Show help" ,
@@ -43,7 +43,7 @@ const Args = struct {
4343 .timeout = "Libcurl http timeout in seconds" ,
4444 .@"debug-hash" = "Print hash for each file" ,
4545 .@"no-dep" = "Disable fetch dependencies" ,
46- .@"no -check" = "Skip hash field check" ,
46+ .@"skip -check" = "Skip hash field check" ,
4747 };
4848};
4949
@@ -226,7 +226,7 @@ fn cachePackageFromUrl(
226226 defer allocator .free (src_dirname );
227227 const actual_hash = try calcHash (allocator , sub_dir , sub_dirname , true );
228228 if (expected_hash ) | expected | {
229- if (args .@"no -check" ) {
229+ if (args .@"skip -check" ) {
230230 try moveToCache (allocator , src_dirname , expected );
231231 return expected ;
232232 }
@@ -337,7 +337,7 @@ fn cachePackageFromGit(
337337 defer dir .close ();
338338 const actual_hash = try calcHash (allocator , dir , "" , true );
339339 if (expected_hash ) | expected | {
340- if (args .@"no -check" ) {
340+ if (args .@"skip -check" ) {
341341 try moveToCache (allocator , tmp_dirname , expected );
342342 return expected ;
343343 }
0 commit comments