Created
January 21, 2021 18:54
-
-
Save TAbdiukov/b5d71dc6152938aa64e0aa89d4c71fa1 to your computer and use it in GitHub Desktop.
obexftp.c latest help from GITLAB code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case 'h': | |
printf("ObexFTP %s\n", VERSION); | |
printf("Usage: %s [ -i " | |
#ifdef HAVE_BLUETOOTH | |
"| -b <dev> [-B <chan>] [-d <addr>]" | |
#endif | |
#ifdef HAVE_USB | |
"| -u <intf> " | |
#endif | |
"| -t <dev> | -N <host> ]\n" | |
"[-c <dir> ...] [-C <dir> ] [-l [<dir>]]\n" | |
"[-g <file> ...] [-p <files> ...] [-k <files> ...] [-x] [-m <src> <dest> ...]\n" | |
"Transfer files from/to Mobile Equipment.\n" | |
"Copyright (c) 2002-2004 Christian W. Zuckschwerdt\n" | |
"\n" | |
" -i, --irda connect using IrDA transport (default)\n" | |
#ifdef HAVE_BLUETOOTH | |
" -b, --bluetooth [<device>] use or search a bluetooth device\n" | |
" -B, --channel <number> use this bluetooth channel when connecting\n" | |
" -d, --hci <no/address> use source device with this address or number\n" | |
#endif | |
#ifdef HAVE_USB | |
" -u, --usb [<intf>] connect to a usb interface or list interfaces\n" | |
#endif | |
" -t, --tty <device> connect to this tty using a custom transport\n" | |
" -n, --network <host> connect to this host\n\n" | |
" -U, --uuid use given uuid (none, FBS, IRMC, S45, SHARP)\n" | |
" -H, --noconn suppress connection ids (no conn header)\n" | |
" -S, --nopath dont use setpaths (use path as filename)\n" | |
" -T, --timeout <seconds> timeout transfer if no accept/reject received\n\n" | |
" -c, --chdir <DIR> chdir\n" | |
" -C, --mkdir <DIR> mkdir and chdir\n" | |
" -l, --list [<FOLDER>] list current/given folder\n" | |
" -o, --output <PATH> specify the target file name\n" | |
" get and put always specify the remote name.\n" | |
" -g, --get <SOURCE> fetch files\n" | |
" -G, --getdelete <SOURCE> fetch and delete (move) files \n" | |
" -p, --put <SOURCE> send files\n" | |
" -k, --delete <SOURCE> delete files\n\n" | |
" -X, --capability retrieve capability object\n" | |
" -Y, --probe probe and report device characteristics\n" | |
" -x, --info retrieve infos (Siemens)\n" | |
" -m, --move <SRC> <DEST> move files (Siemens)\n\n" | |
" -v, --verbose verbose messages\n" | |
" -V, --version print version info\n" | |
" -h, --help, --usage this help text\n" | |
"\n", | |
argv[0]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment