Changeset 47544 in vbox for trunk/src/VBox
- Timestamp:
- Aug 5, 2013 1:45:55 PM (11 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r47246 r47544 499 499 RTStrmPrintf(pStrm, 500 500 "%s snapshot %s <uuid|vmname>\n" 501 " take <name> [--description <desc>] [-- pause] |\n"501 " take <name> [--description <desc>] [--live] |\n" 502 502 " delete <uuid|snapname> |\n" 503 503 " restore <uuid|snapname> |\n" -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageSnapshot.cpp
r44528 r47544 307 307 /* parse the optional arguments */ 308 308 Bstr desc; 309 bool fPause = false;309 bool fPause = true; /* default is NO live snapshot */ 310 310 static const RTGETOPTDEF s_aTakeOptions[] = 311 311 { … … 313 313 { "-description", 'd', RTGETOPT_REQ_STRING }, 314 314 { "-desc", 'd', RTGETOPT_REQ_STRING }, 315 { "--pause", 'p', RTGETOPT_REQ_NOTHING } 315 { "--pause", 'p', RTGETOPT_REQ_NOTHING }, 316 { "--live", 'l', RTGETOPT_REQ_NOTHING } 316 317 }; 317 318 RTGETOPTSTATE GetOptState; … … 329 330 break; 330 331 332 case 'l': 333 fPause = false; 334 break; 335 331 336 case 'd': 332 337 desc = Value.psz;
Note:
See TracChangeset
for help on using the changeset viewer.