// File: MITRECND[P]snugglefish/src/snugglefish.cpp
// Function: printHelp()
void printHelp(){
    cout << "Usage: snugglefish [OPTIONS]" << endl;
    cout << "Index files based on Ngrams then Search for a string" << endl;
    cout << "-i, --index            Index Operation, requires -o, and files to index" << endl;
    cout << "-s, --search           Search Operation, requires -f, and search string" << endl;
    cout << "-o, --output           Specifies the output file for indexing, equivalent to -f" << endl;
    cout << "-f, --file             Index file to search, equivalent to -o" << endl;
    cout << "-b, --node_bound       Maximum node buffer memory size before flushing" << endl;
    cout << "-n, --ngramsize        The size of Ngram to use (default is 3)" << endl;
    cout << "-h, --help             This help screen" << endl;
    cout << "-t, --threads          Number of search threads to spawn (default is #cpus)" << endl;
    cout << "Examples:" << endl;
    cout << "Index: snugglefish [-n ngramsize]  -i -o <index filename> <files to index>" << endl;
    cout << "If no file names are given on the commandline, the stdin will be used" << endl;
    cout << "Search: snugglefish [-n ngramsize] -s -f <index filename> <search string>" << endl;
    cout << "If no string is given, it can be entered on the command line" << endl;


}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq 0x11885(%rip), %rdi     # 0x20fb0
leaq 0xab81(%rip), %rsi      # 0x1a2b3
callq 0xe2f0
movq %rax, %rdi
movq 0x1184f(%rip), %rsi     # 0x20f90
callq 0xe340
movq 0x11863(%rip), %rdi     # 0x20fb0
leaq 0xab7c(%rip), %rsi      # 0x1a2d0
callq 0xe2f0
movq %rax, %rdi
movq 0x1182d(%rip), %rsi     # 0x20f90
callq 0xe340
movq 0x11841(%rip), %rdi     # 0x20fb0
leaq 0xab8f(%rip), %rsi      # 0x1a305
callq 0xe2f0
movq %rax, %rdi
movq 0x1180b(%rip), %rsi     # 0x20f90
callq 0xe340
movq 0x1181f(%rip), %rdi     # 0x20fb0
leaq 0xabb5(%rip), %rsi      # 0x1a34d
callq 0xe2f0
movq %rax, %rdi
movq 0x117e9(%rip), %rsi     # 0x20f90
callq 0xe340
movq 0x117fd(%rip), %rdi     # 0x20fb0
leaq 0xabdb(%rip), %rsi      # 0x1a395
callq 0xe2f0
movq %rax, %rdi
movq 0x117c7(%rip), %rsi     # 0x20f90
callq 0xe340
movq 0x117db(%rip), %rdi     # 0x20fb0
leaq 0xac09(%rip), %rsi      # 0x1a3e5
callq 0xe2f0
movq %rax, %rdi
movq 0x117a5(%rip), %rsi     # 0x20f90
callq 0xe340
movq 0x117b9(%rip), %rdi     # 0x20fb0
leaq 0xac25(%rip), %rsi      # 0x1a423
callq 0xe2f0
movq %rax, %rdi
movq 0x11783(%rip), %rsi     # 0x20f90
callq 0xe340
movq 0x11797(%rip), %rdi     # 0x20fb0
leaq 0xac4a(%rip), %rsi      # 0x1a46a
callq 0xe2f0
movq %rax, %rdi
movq 0x11761(%rip), %rsi     # 0x20f90
callq 0xe340
movq 0x11775(%rip), %rdi     # 0x20fb0
leaq 0xac67(%rip), %rsi      # 0x1a4a9
callq 0xe2f0
movq %rax, %rdi
movq 0x1173f(%rip), %rsi     # 0x20f90
callq 0xe340
movq 0x11753(%rip), %rdi     # 0x20fb0
leaq 0xac6d(%rip), %rsi      # 0x1a4d1
callq 0xe2f0
movq %rax, %rdi
movq 0x1171d(%rip), %rsi     # 0x20f90
callq 0xe340
movq 0x11731(%rip), %rdi     # 0x20fb0
leaq 0xac97(%rip), %rsi      # 0x1a51d
callq 0xe2f0
movq %rax, %rdi
movq 0x116fb(%rip), %rsi     # 0x20f90
callq 0xe340
movq 0x1170f(%rip), %rdi     # 0x20fb0
leaq 0xac7f(%rip), %rsi      # 0x1a527
callq 0xe2f0
movq %rax, %rdi
movq 0x116d9(%rip), %rsi     # 0x20f90
callq 0xe340
movq 0x116ed(%rip), %rdi     # 0x20fb0
leaq 0xaca8(%rip), %rsi      # 0x1a572
callq 0xe2f0
movq %rax, %rdi
movq 0x116b7(%rip), %rsi     # 0x20f90
callq 0xe340
movq 0x116cb(%rip), %rdi     # 0x20fb0
leaq 0xaccc(%rip), %rsi      # 0x1a5b8
callq 0xe2f0
movq %rax, %rdi
movq 0x11695(%rip), %rsi     # 0x20f90
callq 0xe340
movq 0x116a9(%rip), %rdi     # 0x20fb0
leaq 0xacf4(%rip), %rsi      # 0x1a602
callq 0xe2f0
movq %rax, %rdi
movq 0x11673(%rip), %rsi     # 0x20f90
callq 0xe340
popq %rbp
retq
nopw %cs:(%rax,%rax)