Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
gptfdisk/sgdisk.cc
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
21 lines (16 sloc)
681 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |