// File: /workspace/github_cpp_makefile_star2_O2/statgen[P]statgen/lib/tclap-1.2.0/examples/../include/tclap/StdOutput.h
// Function: TCLAP::StdOutput::_shortUsage(TCLAP::CmdLineInterface&, std::ostream&) const
inline void 
StdOutput::_shortUsage( CmdLineInterface& _cmd, 
						std::ostream& os ) const
{
	std::list<Arg*> argList = _cmd.getArgList();
	std::string progName = _cmd.getProgramName();
	XorHandler xorHandler = _cmd.getXorHandler();
	std::vector< std::vector<Arg*> > xorList = xorHandler.getXorList();

	std::string s = progName + " ";

	// first the xor
	for ( int i = 0; static_cast<unsigned int>(i) < xorList.size(); i++ )
		{
			s += " {";
			for ( ArgVectorIterator it = xorList[i].begin(); 
				  it != xorList[i].end(); it++ )
				s += (*it)->shortID() + "|";

			s[s.length()-1] = '}';
		}

	// then the rest
	for (ArgListIterator it = argList.begin(); it != argList.end(); it++)
		if ( !xorHandler.contains( (*it) ) )
			s += " " + (*it)->shortID();

	// if the program name is too long, then adjust the second line offset 
	int secondLineOffset = static_cast<int>(progName.length()) + 2;
	if ( secondLineOffset > 75/2 )
		secondLineOffset = static_cast<int>(75/2);

	spacePrint( os, s, 75, 3, secondLineOffset );
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movq (%rsi), %rax
movq %rsi, %rdi
callq *0x58(%rax)
leaq 0x70(%rsp), %rdi
movq %rax, %rsi
callq 0x57f2
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x50(%rax)
leaq 0x88(%rsp), %rdi
movq %rax, %rsi
callq 0x3220
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x60(%rax)
leaq 0x58(%rsp), %rdi
movq %rax, %rsi
callq 0x582c
leaq 0x8(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x582c
movq %r15, 0x40(%rsp)
movq %r14, 0x48(%rsp)
leaq 0x576d(%rip), %rdx      # 0x9418
leaq 0x20(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0x57ba
xorl %r14d, %r14d
leaq 0xa8(%rsp), %rbx
leaq 0xc8(%rsp), %r15
leaq 0xe8(%rsp), %rbp
movq 0x10(%rsp), %rax
subq 0x8(%rsp), %rax
cqto
pushq $0x18
popq %rcx
idivq %rcx
cmpq %r14, %rax
jbe 0x3da2
leaq 0x20(%rsp), %rdi
leaq 0x53e2(%rip), %rsi      # 0x90e1
callq 0x3300
movq 0x8(%rsp), %rax
movq %r14, 0x50(%rsp)
imulq $0x18, %r14, %r13
movq (%rax,%r13), %r12
cmpq 0x8(%rax,%r13), %r12
je 0x3d86
movq (%r12), %r14
movq %rbx, %rdi
leaq 0x53b9(%rip), %rsi      # 0x90e4
leaq 0x7(%rsp), %rdx
callq 0x39b2
movq (%r14), %rax
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq *0x40(%rax)
movq %rbp, %rdi
movq %r15, %rsi
leaq 0x5397(%rip), %rdx      # 0x90e8
callq 0x5886
leaq 0x20(%rsp), %rdi
movq %rbp, %rsi
callq 0x3320
movq %rbp, %rdi
callq 0x3348
movq %r15, %rdi
callq 0x3348
movq %rbx, %rdi
callq 0x3348
addq $0x8, %r12
movq 0x8(%rsp), %rax
jmp 0x3d16
movq 0x20(%rsp), %rax
movq 0x28(%rsp), %rcx
movb $0x7d, -0x1(%rax,%rcx)
movq 0x50(%rsp), %r14
incq %r14
jmp 0x3cd8
leaq 0x58(%rsp), %rbx
leaq 0xa8(%rsp), %r15
leaq 0xc8(%rsp), %r13
leaq 0xe8(%rsp), %r14
leaq 0x70(%rsp), %r12
movq (%r12), %r12
leaq 0x70(%rsp), %rax
cmpq %rax, %r12
je 0x3e48
movq 0x10(%r12), %rsi
movq %rbx, %rdi
callq 0x58a6
testb %al, %al
jne 0x3dc4
movq 0x10(%r12), %rbp
movq %r15, %rdi
leaq 0x52f2(%rip), %rsi      # 0x90e4
leaq 0x7(%rsp), %rdx
callq 0x39b2
movq (%rbp), %rax
movq %r13, %rdi
movq %rbp, %rsi
movq %r15, %rdx
callq *0x40(%rax)
movq %r14, %rdi
leaq 0x5602(%rip), %rsi      # 0x9418
movq %r13, %rdx
callq 0x58eb
leaq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0x3320
movq %r14, %rdi
callq 0x3348
movq %r13, %rdi
callq 0x3348
movq %r15, %rdi
callq 0x3348
jmp 0x3dc4
movl 0x90(%rsp), %eax
cmpl $0x23, %eax
pushq $0x23
popq %r9
cmovll %eax, %r9d
addl $0x2, %r9d
leaq 0x20(%rsp), %rdx
pushq $0x4b
popq %rcx
pushq $0x3
popq %r8
movq 0x40(%rsp), %rdi
movq 0x48(%rsp), %rsi
callq 0x5910
leaq 0x20(%rsp), %rdi
callq 0x3348
leaq 0x8(%rsp), %rdi
callq 0x5ade
leaq 0x58(%rsp), %rdi
callq 0x5ade
leaq 0x88(%rsp), %rdi
callq 0x3348
leaq 0x70(%rsp), %rdi
callq 0x5c00
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3ee0
movq %rax, %rbx
jmp 0x3f23
movq %rax, %rbx
jmp 0x3f2d
movq %rax, %rbx
jmp 0x3f37
movq %rax, %rbx
jmp 0x3f44
jmp 0x3ee0
jmp 0x3eea
jmp 0x3ee5
jmp 0x3eef
jmp 0x3ee0
movq %rax, %rbx
jmp 0x3f19
movq %rax, %rbx
jmp 0x3f0c
movq %rax, %rbx
jmp 0x3eff
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
callq 0x3348
leaq 0xc8(%rsp), %rdi
callq 0x3348
leaq 0xa8(%rsp), %rdi
callq 0x3348
leaq 0x20(%rsp), %rdi
callq 0x3348
leaq 0x8(%rsp), %rdi
callq 0x5ade
leaq 0x58(%rsp), %rdi
callq 0x5ade
leaq 0x88(%rsp), %rdi
callq 0x3348
leaq 0x70(%rsp), %rdi
callq 0x5c00
movq %rbx, %rdi
callq 0x32c0