summaryrefslogtreecommitdiff
path: root/sgdisk.cc
blob: d3fe1a8febda649ab9893195de720cfd6a468f40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// sgdisk.cc
// Command-line-based version of gdisk. This program is named after sfdisk,
// and it can serve a similar role (easily scripted, etc.), but it's used
// strictly via command-line arguments, and it doesn't bear much resemblance
// to sfdisk in actual use.
//
// by Rod Smith, project began February 2009; sgdisk begun January 2010.

/* This program is copyright (c) 2009-2011 by Roderick W. Smith. It is distributed
  under the terms of the GNU GPL version 2, as detailed in the COPYING file. */

#include "gptcl.h"

using namespace std;

#define MAX_OPTIONS 50

int main(int argc, char *argv[]) {
   GPTDataCL theGPT;
   return theGPT.DoOptions(argc, argv);
} // main