mirror of
https://github.com/tihmstar/futurerestore.git
synced 2024-12-22 17:35:29 +00:00
printing version as the very first thing now
This commit is contained in:
parent
b63b494b0d
commit
25ac142fbe
|
@ -40,8 +40,7 @@ static struct option longopts[] = {
|
|||
|
||||
void cmd_help(){
|
||||
printf("Usage: futurerestore [OPTIONS] IPSW\n");
|
||||
printf("Allows restoring nonmatching iOS/Sep/Baseband\n");
|
||||
printf("Version: " VERSION_COMMIT_SHA_FUTURERESTORE" - " VERSION_COMMIT_COUNT_FUTURERESTORE"\n\n");
|
||||
printf("Allows restoring nonmatching iOS/Sep/Baseband\n\n");
|
||||
|
||||
printf(" -t, --apticket PATH\t\tApticket used for restoring\n");
|
||||
printf(" -b, --baseband PATH\t\tBaseband to be flashed\n");
|
||||
|
@ -60,6 +59,7 @@ int main(int argc, const char * argv[]) {
|
|||
#define reterror(code,a ...) do {error(a); err = code; goto error;} while (0)
|
||||
int err=0;
|
||||
int res = -1;
|
||||
printf("Version: " VERSION_COMMIT_SHA_FUTURERESTORE" - " VERSION_COMMIT_COUNT_FUTURERESTORE"\n");
|
||||
|
||||
int optindex = 0;
|
||||
int opt = 0;
|
||||
|
|
Loading…
Reference in a new issue