blob: d3fe1a8febda649ab9893195de720cfd6a468f40 [file] [log] [blame]
srs56941e093722010-01-05 00:14:19 -05001// sgdisk.cc
srs569473ba4792010-01-12 18:18:17 -05002// 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.
srs56941e093722010-01-05 00:14:19 -05006//
srs569473ba4792010-01-12 18:18:17 -05007// by Rod Smith, project began February 2009; sgdisk begun January 2010.
srs56941e093722010-01-05 00:14:19 -05008
srs569464cbd172011-03-01 22:03:54 -05009/* This program is copyright (c) 2009-2011 by Roderick W. Smith. It is distributed
srs56941e093722010-01-05 00:14:19 -050010 under the terms of the GNU GPL version 2, as detailed in the COPYING file. */
11
srs5694a17fe692011-09-10 20:30:20 -040012#include "gptcl.h"
srs569473ba4792010-01-12 18:18:17 -050013
14using namespace std;
srs56941e093722010-01-05 00:14:19 -050015
16#define MAX_OPTIONS 50
17
srs569473ba4792010-01-12 18:18:17 -050018int main(int argc, char *argv[]) {
srs5694a17fe692011-09-10 20:30:20 -040019 GPTDataCL theGPT;
20 return theGPT.DoOptions(argc, argv);
srs569473ba4792010-01-12 18:18:17 -050021} // main