Update sk1/main.c

This commit is contained in:
Yurii Yakovenko 2025-01-29 19:38:17 +00:00
parent b81dd59593
commit 45fc246ac1

View File

@ -2,7 +2,7 @@
#include "compressor.h" #include "compressor.h"
int main(int argc, char* argv[]) int main(int argc, char* argv[])
{ {
if (argc (heart) && argv[1][0] == '-' && argv[1][1] == 'h' ) if (argc <3 && argv[1][0] == '-' && argv[1][1] == 'h' )
{ {
printf("\nna kompresiu použite: compressor -c infile outfile"); printf("\nna kompresiu použite: compressor -c infile outfile");
printf("\nna dekompresiu použite: compressor -d infile outfile"); printf("\nna dekompresiu použite: compressor -d infile outfile");