Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arkzip/arkcore/arkcore_include.pri
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

LIBS += \
-L'$$PWD/$$DESTDIR' -larkcore \
-l:libboost_program_options-mt.a
-l:libboost_program_options.a

INCLUDEPATH *= $$PWD

Expand Down
2 changes: 1 addition & 1 deletion arkzip/arkzip/arkzip.pro
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ SOURCES += \
main.cpp \
option.cpp
LIBS += \
-l:libboost_program_options-mt.a
-l:libboost_program_options.a
DEFINES += \
_ARK_CUI_PROGRAM_PATH="'\"$$ARK_CUI_PROGRAM_PATH\"'" \
_ARK_GUI_PROGRAM_PATH="'\"$$ARK_GUI_PROGRAM_PATH\"'" \
Expand Down
10 changes: 5 additions & 5 deletions arkzip/arkzip/option.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,22 +104,22 @@ po::variables_map Option::analyze()
}
// 없는 옵션을 사용한 경우
catch(po::unknown_option &e) {
std::cout << e.what() << std::endl;
//std::cout << e.what() << std::endl;
std::exit(95);
}
// 옵션 값의 오류가 발생한 경우
catch(po::invalid_option_value &e) {
std::cout << e.what() << std::endl;
//std::cout << e.what() << std::endl;
std::exit(2);
}
// 옵션 값이 없을 경우
catch(po::invalid_command_line_syntax &e) {
std::cout << e.what() << std::endl;
//std::cout << e.what() << std::endl;
std::exit(3);
}
// 이외의 예외 발생
catch(std::exception &e) {
std::cout << e.what() << std::endl;
//std::cout << e.what() << std::endl;
std::exit(4);
}

Expand All @@ -135,7 +135,7 @@ void Option::printHelp()
<< trUtf8(" Ark Library를 사용한 압축파일 압축해제 프로그램. 이 프로그램은 다음 형식을 압축해제할수 있습니다.") << QString::fromUtf8(" zip, alz, egg, tar, bh, 7z, wim, rar, arj, cab, lzh, gz, bz2, iso, img, xz, z, lzma, j2j, hv3.") << endl
<< trUtf8(" 중복 파일이 발견되면 사용자에게 묻지 않고 새로운 이름을 지정합니다.") << endl
<< flush;
visibleDesc.print(std::cout);
//visibleDesc.print(std::cout);
}

/** 페이지 페이지를 표준출력으로 출력합니다.
Expand Down
2 changes: 1 addition & 1 deletion dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function makeControlFile(){
Section: utils
Priority: optional
breaks: arkzip
depends: libqt4-core(>=4:4.8.1), libstdc++6
depends: libqtcore4, libstdc++6
Architecture: amd64
Maintainer: 별님 <w7dn1ng75r@gmail.com>
Homepage: https://github.com/Thestars3/arkzip/
Expand Down