1 // sgdisk.cc
2 // Command-line-based version of gdisk. This program is named after sfdisk,
3 // and it can serve a similar role (easily scripted, etc.), but it's used
4 // strictly via command-line arguments, and it doesn't bear much resemblance
5 // to sfdisk in actual use.
6 //
7 // by Rod Smith, project began February 2009; sgdisk begun January 2010.
8 
9 /* This program is copyright (c) 2009-2011 by Roderick W. Smith. It is distributed
10   under the terms of the GNU GPL version 2, as detailed in the COPYING file. */
11 
12 #include "gptcl.h"
13 
14 using namespace std;
15 
16 #define MAX_OPTIONS 50
17 
main(int argc,char * argv[])18 int main(int argc, char *argv[]) {
19    GPTDataCL theGPT;
20    return theGPT.DoOptions(argc, argv);
21 } // main
22